Last active
January 2, 2016 12:59
-
-
Save gravyboat/8307503 to your computer and use it in GitHub Desktop.
multiple crons in states, NOTE: This is really not that great a way to do things, in reality we should have all sorts of fancy pillar naming going on, and cool sourcing, but this is the quick and dirty workaround.
This file contains hidden or 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
---------------- | |
livedb_crons.sls | |
---------------- | |
/cron.livedb: | |
file.directory: | |
- user: root | |
- group: root | |
- mode: 644 | |
- makedirs: True | |
/cron.livedb/postgres: | |
file.managed: | |
- user: root | |
- group: root | |
- mode: 755 | |
- source: salt://crons/livedb/files/postgres | |
------------------ | |
rootdbdr_crons.sls | |
------------------ | |
/cron.rootdbdr | |
file.directory: | |
- user: root | |
- group: root | |
- mode: 644 | |
- makedirs: True | |
/cron.rootdbdr/interch: | |
file.managed: | |
- user: root | |
- group: root | |
- mode: 755 | |
- source: salt://crons/rootdbdr/files/interch | |
/cron.rootdbdr/root: | |
file.managed: | |
- user: root | |
- group: root | |
- mode: 755 | |
- source: salt://crons/rootdbdr/files/root | |
/cron.rootdbdr/postgres: | |
file.managed: | |
- user: root | |
- group: root | |
- mode: 755 | |
- source: salt://crons/rootdbdr/files/postgres |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment