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
| log_level :info | |
| log_location STDOUT | |
| ssl_verify_mode :verify_none | |
| chef_server_url "http://localhost:4000" | |
| signing_ca_path "/var/chef/ca" | |
| couchdb_database 'chef' | |
| cookbook_path [ "/var/chef/cookbooks", "/var/chef/site-cookbooks" ] | |
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
| #!/usr/bin/env bash | |
| ruby_version="1.9.2-p180" | |
| rpm_version="0.2" | |
| [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function | |
| #make sure we have rvm | |
| no_rvm=$(which rvm | grep 'no rvm') | |
| if [ "$no_rvm" ] ; then | |
| echo "install rvm" |
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
| source :rubygems | |
| gem "logstash", :git => "git://github.com/logstash/logstash.git" |
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
| input { | |
| exec { | |
| type => 'proc-stat' | |
| exec => 'cat /proc/stat' | |
| period => 5 | |
| } | |
| exec { | |
| type => 'free' | |
| exec => 'free' | |
| period => 8 |
NewerOlder