Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@rterbush
Created November 13, 2015 14:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rterbush/2b14debf4ba1f519815d to your computer and use it in GitHub Desktop.
Save rterbush/2b14debf4ba1f519815d to your computer and use it in GitHub Desktop.
```
2015-11-13 14:40:35,979 [salt.state ][INFO ][1400] Running state [system.reboot] at time 14:40:35.979000
2015-11-13 14:40:35,988 [salt.state ][INFO ][1400] Executing state salt.function for system.reboot
2015-11-13 14:40:41,106 [salt.state ][ERROR ][1400] Salt request timed out. The master is not responding. If th
is error persists after verifying the master is up, worker_threads may need to be increased.
```
@rterbush
Copy link
Author

Here is the state I am calling:

reboot_minion:
  salt.function:
    - name: system.reboot
    - tgt: {{ "{0} and G@os:Windows".format(grains['id']) }}
    - expr_form: compound
    - onchanges:
      - win_servermanager: enable_web_server_role

@rterbush
Copy link
Author

This gets logged on minion, even though minion does not reboot.

2015-11-13 17:07:03,385 [salt.state       ][INFO    ][2380] Completed state [system.reboot] at time 17:07:03.385000�

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment