I hereby claim:
- I am gordonm on github.
- I am gordonm (https://keybase.io/gordonm) on keybase.
- I have a public key ASCaBpcvN1dwh18if3uyAA7QrzgRTpY5OL25j-laLPss8wo
To claim this, I am signing this object:
[ david@samwise ] $ cat salt.sls | |
/etc/salt/minion: | |
file: | |
- managed | |
- owner: root | |
- group: root | |
- mode: 444 | |
- source: salt://salt/files/salt-minion.config | |
- template: jinja | |
- context: { |
[ david@samwise ] $ cat salt.sls | |
/etc/salt/minion: | |
file: | |
- managed | |
- owner: root | |
- group: root | |
- mode: 444 | |
- source: salt://salt/files/salt-minion.config | |
- template: jinja | |
- context: |
[root@provision tmp]# date | |
Mon Jun 4 17:08:07 PDT 2012 | |
[root@provision tmp]# grep salt-master /var/log/messages | |
Jun 4 17:05:30 provision kernel: salt-master[5136]: segfault at 20 ip 00007fc3753e1e1c sp 00007fff60f935e0 error 4 in libzmq.so.1.0.0[7fc3753c5000+2e000] | |
[root@provision tmp]# ps auxww | grep [s]alt | |
root 5128 0.0 0.0 646044 14780 ? Sl Jun01 0:02 /usr/bin/python /usr/bin/salt-master -d | |
root 5129 1.8 0.0 256748 13036 ? S Jun01 86:32 /usr/bin/python /usr/bin/salt-master -d | |
root 5136 0.7 0.0 0 0 ? Z Jun01 37:41 [salt-master] <defunct> |
openjdk-6-jre: | |
pkg: | |
- installed | |
/tmp/elasticsearch.tar.gz: | |
file: | |
- managed | |
- source: https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.19.2.tar.gz | |
/tmp/servicewrapper.tar.gz: |
include: | |
- yum.omd | |
mon-required-pkgs: | |
pkg.installed: | |
- names: | |
- omd-0.54 | |
- mod_ssl | |
- check_mk-agent-mon | |
- require: |
#!/usr/bin/env python | |
import salt.cli.caller | |
import salt.config | |
import argparse | |
import sys | |
parser = argparse.ArgumentParser(description='Check if minions are online.') | |
parser.add_argument('hostname', help='The name of the minion to be checked') | |
args = parser.parse_args() |
#!/usr/bin/env python | |
import salt.cli.caller | |
import salt.config | |
import argparse | |
import sys | |
import signal | |
class TimeoutException(Exception): | |
pass |
#!/usr/bin/env bash | |
###############FUNCTIONS############ | |
function prepare { | |
#optimize the index | |
echo -n "Optimizing index $INDEX_NAME..." | |
curl -XPOST "$ADDRESS/$INDEX_NAME/_optimize" 2>/dev/null| grep 'failed":0' >/dev/null | |
if [ $? -eq 0 ]; then | |
echo "done" |
I hereby claim:
To claim this, I am signing this object: