-
-
Save anonymous/0f43ad4ad0541238fae1 to your computer and use it in GitHub Desktop.
Comment: State 'freebsdjail.restart' was not found in SLS
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
% sudo salt '*' state.highstate | |
salt: | |
---------- | |
ID: restart_jail_nginx | |
Function: freebsdjail.restart | |
Result: False | |
Comment: State 'freebsdjail.restart' was not found in SLS 'jails' | |
Reason: 'freebsdjail.restart' is not available. | |
Started: | |
Duration: | |
Changes: | |
---------- | |
ID: jail_nginx_nginx | |
Function: pkg.installed | |
Name: nginx | |
Result: False | |
Comment: One or more requisite failed: jails.restart_jail_nginx | |
Started: | |
Duration: | |
Changes: |
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
restart_jail_{{ jail }}: | |
freebsdjail.restart: | |
- jail: {{ jail }} | |
{% for package in pillar['jails'][jail]['packages'] %} | |
jail_{{ jail }}_{{ package }}: | |
pkg.installed: | |
- name: {{ package }} | |
- jail: {{ jail }} | |
- onchanges: | |
- freebsdjail: restart_jail_{{ jail }} | |
{% endfor %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment