You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
minion runs highstate on start if schedule set in pillar #22580
P4Priority 4bugbroken, incorrect, or confusing behaviordocumentationRelates to Salt documentationfixed-pls-verifyfix is linked, bug author to confirm fixseverity-low4th level, cosemtic problems, work around exists
This will trigger a highstate when the minion starts which is (to me) slightly unexpected behaviour, I can understand why it would do it but I can't see it documented (which has lead to a few head/table interfaces during state development).
@ryanwalder I think that is expected behavior, but it would be good to get that documented. @garethgreenaway - can you comment to whether or not that is expected?
Yup! Using seconds, minutes, and hours schedule items will run on startup. In 2015.2 there is an option, run_on_start, which will cause it not to run on startup but at the next iteration.
@garethgreenaway Nice! Is that configuration added to the docs anywhere? I did a quick search for it and didn't come up with anything, though I think our docs pages are being a little finicky as of the last day or so...
P4Priority 4bugbroken, incorrect, or confusing behaviordocumentationRelates to Salt documentationfixed-pls-verifyfix is linked, bug author to confirm fixseverity-low4th level, cosemtic problems, work around exists
Activity
rallytime commentedon Apr 17, 2015
@ryanwalder I think that is expected behavior, but it would be good to get that documented. @garethgreenaway - can you comment to whether or not that is expected?
garethgreenaway commentedon Apr 17, 2015
Yup! Using seconds, minutes, and hours schedule items will run on startup. In 2015.2 there is an option, run_on_start, which will cause it not to run on startup but at the next iteration.
rallytime commentedon Apr 17, 2015
@garethgreenaway Nice! Is that configuration added to the docs anywhere? I did a quick search for it and didn't come up with anything, though I think our docs pages are being a little finicky as of the last day or so...
garethgreenaway commentedon Apr 17, 2015
It's in the docs for the scheduler.
rallytime commentedon Apr 17, 2015
Ah, I see it here.
salt/salt/utils/schedule.py
Line 131 in 20d8f75
Maybe it would be useful to get it in here, as well?
Add run_on_start docs to schedule.rst
Add run_on_start docs to schedule.rst (#32958)
[2015.8] Merge forward from 2015.5 to 2015.8 (#33054)
[develop] Merge forward from 2016.3 to develop (#33193)