Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- clearcroncache:
- file.absent:
- - name: /var/cache/salt/minion/files/base/common/cron
- crontemplate:
- cron.file:
- - env: prod
- - template: jinja
- - source: salt://common/cron/template
- - defaults:
- host: {{ grains.fqdn }}
- - replace: True
- - require:
- - name: clearcroncache
- results in:
- ID: crontemplate
- Function: cron.file
- Result: False
- Comment: The following requisites were not found:
- require:
- name: clearcroncache
- Changes:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement