This file contains hidden or 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
#!/bin/bash | |
hertz=100 | |
host=`cat /etc/hn` | |
for pidfile in `find /var/run -type f -name '*.pid*'` | |
do | |
progname=`basename $pidfile|sed -e 's/\.pid$//g'`; | |
# if progname = agent, progname = puppet-agent. | |
if [ $progname = "agent" ] |
This file contains hidden or 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
# SSH CONFIG | |
PermitLocalCommand yes | |
############ prod | |
Host saltmaster | |
HostName ec2-xx-xx-xxx-x.us-west-1.compute.amazonaws.com | |
User ec2-user | |
LocalCommand echo -e "\033]50;SetProfile=Salt Master\a"; |
This file contains hidden or 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
echo '{"a":4}'|nc hekatest 5565 |
OlderNewer