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
Data failed to compile: | |
---------- | |
Rendering SLS nginx.site failed, render error: while parsing a block mapping | |
in "<unicode string>", line 1, column 1: | |
include: | |
^ | |
expected <block end>, but found '<block mapping start>' | |
in "<unicode string>", line 11, column 2: | |
/etc/nginx/sites-enabled/site: | |
^ |
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
redis-repo: | |
pkgrepo.managed: | |
- humanname: Redis PPA | |
- ppa: rwky/redis | |
- require_in: redis | |
redis: | |
pkg: | |
- installed | |
- name: redis-server |
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
mysql: | |
pkg: | |
- installed | |
- names: | |
- mysql-server | |
- mysql-server-5.5 | |
- mysql-client | |
- require: | |
- pkg: python-mysqldb | |
- debconf: 'mysql-debconf' |
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
mongo-10gen-server: | |
pkg: | |
- installed | |
- require: | |
- pkgrepo: 10gen-repo |
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
/root/check_mk-1.2.2p2.tar.gz: | |
file.managed: | |
- source: salt://check_mk/check_mk-1.2.2p2.tar.gz | |
- user: root | |
- group: root | |
- mode: 644 | |
check_mk-install: | |
cmd.script: | |
- source: salt://check_mk/check_mk_non_interactive.sh |
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
for queue, qlen in info: | |
qlength = int(qlen) | |
print queue | |
print qlength | |
input: | |
[['lowq', '3'], ['critq', '0'], ['defq', '0'], ['workers', '0']] | |
output: | |
lowq |
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
postmap-cmr: | |
cmd.run: | |
- name: postmap virtual_mailbox_recipients | |
- cwd: /etc/postfix | |
- onlyif: test -e /etc/postfix/virtual_mailbox_recipients | |
- unless: test -e /etc/postfix/virtual_mailbox_recipients.db | |
- require: | |
- pkg: postfix |
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
install-these: | |
pkg.installed: | |
- pkgs: | |
- foobar | |
- php5-mysql | |
- vim-ehhanced | |
/etc/munin.conf: | |
file.managed: | |
- source: salt://munin.conf |
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
(init.sls) | |
check_mk-add-server: | |
cmd.run: | |
- name: salt-call event.fire_master 'west-add-server' 'wato' | |
(/srv/reactor/wato.sls) | |
{% if data['data'] == 'west-add-server' %} | |
{{ data['id'] }}: | |
cmd.run: | |
- name: salt 'monitor-ops1' file.append /etc/check_mk/conf.d/wato/vpc_west_stack/tmp.tmp \ |
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: |