Created
August 22, 2013 23:05
-
-
Save dginther/6313846 to your computer and use it in GitHub Desktop.
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
2013-08-22 23:01:27,128 [salt.template ][DEBUG ] Rendered data from file: /srv/reactor/wato.sls: | |
install: | |
cmd.cmd.run: | |
- name: salt 'monitor-ops1' file.append /etc/check_mk/conf.d/wato/vpc_west_stack/tmp.tmp \ | |
"This is a test. This is only a test." | |
2013-08-22 23:01:27,132 [salt.loaded.int.render.yaml][DEBUG ] Results of YAML rendering: | |
{'install': {'cmd.cmd.run': [{'name': 'salt \'monitor-ops1\' file.append /etc/check_mk/conf.d/wato/vpc_west_stack/tmp.tmp \\ "This is a test. This is only a test."'}]}} | |
2013-08-22 23:01:27,133 [salt.config ][DEBUG ] Reading configuration from /etc/salt/master | |
2013-08-22 23:01:27,181 [salt.config ][DEBUG ] Missing configuration file: /root/.salt | |
2013-08-22 23:01:27,182 [salt.utils.event ][DEBUG ] LocalClientEvent PUB socket URI: ipc:///var/run/salt/master/master_event_pub.ipc | |
2013-08-22 23:01:27,182 [salt.utils.event ][DEBUG ] LocalClientEvent PULL socket URI: ipc:///var/run/salt/master/master_event_pull.ipc | |
2013-08-22 23:01:27,183 [salt.utils.event ][ERROR ] Failed to execute cmd: <bound method ReactWrap.cmd of <salt.utils.event.ReactWrap object at 0x1d9fd10>> | |
Traceback (most recent call last): | |
File "/usr/lib/pymodules/python2.7/salt/utils/event.py", line 434, in run | |
ret = l_fun(*f_call.get('args', ()), **f_call.get('kwargs', {})) | |
File "/usr/lib/pymodules/python2.7/salt/utils/event.py", line 448, in cmd | |
return local.cmd_async(*args, **kwargs) | |
TypeError: cmd_async() takes at least 3 arguments (2 given) |
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
reactor: | |
- 'wato': | |
- /srv/reactor/wato.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
salt-call event.fire_master 'west-add-server' 'wato' |
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
{% if data['data'] == 'west-add-server' %} | |
install: | |
cmd.cmd.run: | |
- name: salt 'monitor-ops1' file.append /etc/check_mk/conf.d/wato/vpc_west_stack/tmp.tmp \ | |
"This is a test. This is only a test." | |
{% endif %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
{% if data['data'] == 'west-add-server' %}
install:
cmd.file.append:
"This is a test. This is only a test."
{% endif %}