Created
October 10, 2016 23:00
-
-
Save anonymous/2c6e45c41bef5f5967f28a4e0be012a4 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 16:35:45,168 [salt.utils.schedule][ERROR ][16490] 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 | |
scheduleHourly: | |
---------- | |
__env__: | |
base | |
__sls__: | |
site1.schedules.hourly | |
schedule: | |
|_ | |
---------- | |
function: | |
state.sls | |
|_ | |
---------- | |
minutes: | |
60 | |
|_ | |
---------- | |
splay: | |
1800 | |
|_ | |
---------- | |
enabled: | |
True | |
|_ | |
---------- | |
job_args: | |
- site1.users | |
|_ | |
---------- | |
job_kwargs: | |
---------- | |
test: | |
False | |
- present | |
|_ | |
---------- | |
order: | |
10000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment