This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Setting the following schedule.sls in pillar on the master | |
schedule: | |
job1: | |
function : state.sls <-- where does this state.sls reside ? /srv/salt on master, minion or in /srv/pillar on master ? | |
minutes : 10 | |
maxrunning : 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
top.sls : | |
base: | |
'*': | |
- some stuff | |
'role:apache': | |
- match grain | |
- Apache.apache_conf | |
base/apache_conf.sls looks like this : | |
config-file-copy: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Tag: salt/job/20150821110504154304/ret/10.10.10.10 | |
Data: | |
{'_stamp': '2015-08-21T18:05:08.457493', | |
'cmd': '_return', | |
'fun': 'state.highstate', | |
'fun_args': [], | |
'id': '10.10.10.10', | |
'jid': '20150821110504154304', | |
'out': 'highstate', | |
'retcode': 1, |