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
    
  
  
    
  | server { | |
| listen 80 default_server; | |
| server_name *.ops.sharethis.com; | |
| location / { | |
| proxy_pass http://127.0.0.1:4180; | |
| proxy_set_header Host $host; | |
| proxy_set_header X-Real-IP $remote_addr; | |
| proxy_set_header X-Scheme $scheme; | |
| proxy_connect_timeout 1; | 
  
    
      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
    
  
  
    
  | adm1@cookbook$ cat /etc/service/sensu-client/run | |
| #!/bin/bash | |
| EMBEDDED_RUBY=false | |
| CONFIG_FILE=/etc/sensu/config.json | |
| CONFIG_DIR=/etc/sensu/conf.d | |
| EXTENSION_DIR=/etc/sensu/extensions | |
| PLUGINS_DIR=/etc/sensu/plugins | |
| HANDLERS_DIR=/etc/sensu/handlers | |
| LOG_DIR=/var/log/sensu | 
  
    
      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
    
  
  
    
  | server { | |
| location /range { | |
| fastcgi_pass localhost:5000; | |
| fastcgi_param SCRIPT_NAME $fastcgi_script_name; | |
| fastcgi_param QUERY_STRING $query_string; | |
| fastcgi_param REQUEST_METHOD $request_method; | |
| fastcgi_param CONTENT_TYPE $content_type; | |
| fastcgi_param CONTENT_LENGTH $content_length; | |
| } | 
  
    
      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
    
  
  
    
  | cd ~/git/operations ; git pull | |
| HOST=<$IP> (eg, 10.194.17.124) | |
| rsync -aze "ssh -i $HOME/keys/ops -l ec2-user" ~/git/operations/chef-solo/ $HOST:/tmp/chef-solo | |
| ssh -i ~/keys/ops -l ec2-user -tt $HOST sh /tmp/chef-solo/setup-chef | |
| login to $ip (10.194.17.124) | |
| ---------------------------- | |
| scp /tmp/binutils-2.20.51.0.7-8.29.amzn1.x86_64.rpm 10.60.94.53:/tmp |