Created
October 10, 2016 20:48
-
-
Save anonymous/2627c033bcf90a7912ed7e2b9589d89c to your computer and use it in GitHub Desktop.
Salt Minion Schedule
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
Trace Error | |
2016-10-10 05:40:46,178 [salt.utils.schedule][ERROR ][12646] Unhandled exception running state.sls | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/site-packages/salt/utils/schedule.py", line 739, in handle_func | |
kwargs['__pub_{0}'.format(key)] = val | |
TypeError: list indices must be integers, not str | |
top.sls | |
# Match by site and managed nodes | |
base: | |
'G@site:site1 and G@managed-node:True': | |
- match: compound | |
- site1.schedules | |
schedules.sls | |
include: | |
- site1.schedules.hourly | |
- site1.schedules.daily | |
- site1.schedules.weekly | |
- site1.schedules.monthly | |
hourly.sls | |
scheduleHourly: | |
schedule.present: | |
- function: state.sls | |
- minutes: 60 | |
- splay: 1800 | |
- enabled: True | |
- job_args: | |
- site1.users | |
- job_kwargs: | |
- test: False |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment