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
### Keybase proof | |
I hereby claim: | |
* I am dginther on github. | |
* I am diluted (https://keybase.io/diluted) on keybase. | |
* I have a public key ASC1EKCNmLzDk_dj7J0SqMg0D1Pi34NvJbEOVKKWfc-s5Ao | |
To claim this, I am signing this object: |
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
{% if data['data'] == 'west-add-server' %} | |
west-add-host: | |
cmd.file.append: | |
- tgt: 'monitor-ops1' | |
- arg: | |
- name: /etc/check_mk/conf.d/wato/vpc_west_stack/hosts.tst | |
- text: | | |
"all_hosts += ["{{ data['id'] }}|cmk-agent|prod|site:west-vpc|lan|tcp|wato|/" + FOLDER_PATH + "/"," | |
{% endif %} |
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
west-add-host: | |
cmd.file.append: | |
- tgt: 'monitor-ops1' | |
- arg: | |
- /etc/check_mk/conf.d/wato/vpc_west_stack/hosts.tst | |
- "all_hosts += ["{{ data['id'] }}|cmk-agent|prod|site:west-vpc|lan|tcp|wato|/" + FOLDER_PATH + "/"," |
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: |
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
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
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
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
/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 |
NewerOlder