Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- My Pillar/schedule.sls state apply to all servers :
- job1:
- schedule.present:
- - function: state.sls
- - seconds: 120
- - job_args:
- - server.logs
- My Server/logs.sls :
- free -h >> /tmp/server_log:
- cmd.run
- Some command output :
- Pillar.items :
- job1:
- ----------
- schedule.enabled:
- |_
- ----------
- function:
- state.sls
- |_
- ----------
- seconds:
- 3600
- |_
- ----------
- job_args:
- - server
- Schedule.list :
- automator:
- ----------
- schedule:
- ----------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement