-
-
Save danielsdeleo/314073 to your computer and use it in GitHub Desktop.
Revisions
-
btm revised this gist
Jan 14, 2010 . 1 changed file with 1 addition and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -3,8 +3,7 @@ sudo sed -i 's/universe/multiverse universe/' /etc/apt/sources.list sudo apt-get update sudo apt-get install -y ruby ruby1.8-dev libopenssl-ruby1.8 rdoc ri irb build-essential wget ssl-cert rubygems git-core rake librspec-ruby libxml-ruby thin couchdb zlib1g-dev libxml2-dev sudo gem sources -a http://gems.opscode.com sudo gem install cucumber merb-core jeweler uuidtools json libxml-ruby --no-ri --no-rdoc mkdir ~/src cd ~/src git clone git://github.com/opscode/chef.git -
btm revised this gist
Jan 3, 2010 . 1 changed file with 5 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -53,3 +53,8 @@ rm cookbooks/README git clone git://github.com/opscode/cookbooks.git sudo /var/lib/gems/1.8/bin/knife cookbook upload --all -u chef-webui -k /etc/chef/webui.pem -o cookbooks # Create admin user? # http://tickets.opscode.com/browse/CHEF-839 sudo /var/lib/gems/1.8/bin/chef-server-webui -p 4002 # Start the WebUI sudo /var/lib/gems/1.8/bin/chef-server-webui -p 4002 & -
btm revised this gist
Jan 2, 2010 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -51,5 +51,5 @@ git clone git://github.com/opscode/chef-repo.git cd chef-repo rm cookbooks/README git clone git://github.com/opscode/cookbooks.git sudo /var/lib/gems/1.8/bin/knife cookbook upload --all -u chef-webui -k /etc/chef/webui.pem -o cookbooks -
btm revised this gist
Jan 2, 2010 . 1 changed file with 10 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -43,4 +43,13 @@ cookbook_path "/tmp/chef-solo/cookbooks" # End of file git checkout 08boot sudo /var/lib/gems/1.8/bin/chef-solo -j ~/chef.json -c ~/solo.rb -l debug # Setup cookbooks cd git clone git://github.com/opscode/chef-repo.git cd chef-repo rm cookbooks/README git clone git://github.com/opscode/cookbooks.git sudo /var/lib/gems/1.8/bin/knife cookbook upload --all -u chef-webui -k /etc/chef/webui.key -o cookbooks -
btm revised this gist
Jan 2, 2010 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,10 +1,10 @@ # ec2 ami-1515f67c sudo sed -i 's/universe/multiverse universe/' /etc/apt/sources.list sudo apt-get update sudo apt-get install -y ruby ruby1.8-dev libopenssl-ruby1.8 rdoc ri irb build-essential wget ssl-cert rubygems git-core rake librspec-ruby libxml-ruby thin couchdb zlib1g-dev libxml2-dev sudo gem sources -a http://gems.opscode.com sudo gem sources -a http://gemcutter.org # for nanite sudo gem install cucumber merb-core nanite jeweler uuidtools json libxml-ruby --no-ri --no-rdoc mkdir ~/src cd ~/src git clone git://github.com/opscode/chef.git -
btm revised this gist
Dec 24, 2009 . 1 changed file with 6 additions and 3 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -9,7 +9,11 @@ mkdir ~/src cd ~/src git clone git://github.com/opscode/chef.git git clone git://github.com/opscode/ohai.git git clone git://github.com/opscode/mixlib-log # http://tickets.opscode.com/browse/CHEF-823 cd mixlib-log sudo rake install cd ../ohai sudo rake install cd ../chef sudo rake install @@ -39,5 +43,4 @@ cookbook_path "/tmp/chef-solo/cookbooks" # End of file git checkout 08boot sudo /var/lib/gems/1.8/bin/chef-solo -j ~/chef.json -c ~/solo.rb -l debug -
btm revised this gist
Nov 25, 2009 . 1 changed file with 3 additions and 13 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -17,8 +17,8 @@ mkdir -p /tmp/chef-solo cd /tmp/chef-solo git clone git://github.com/danielsdeleo/cookbooks.git cd cookbooks # Create ~/chef.json: { "bootstrap": { "chef": { @@ -34,20 +34,10 @@ cd cookbooks # End of file # Create ~/solo.rb: file_cache_path "/tmp/chef-solo" cookbook_path "/tmp/chef-solo/cookbooks" # End of file git checkout 08boot sudo /var/lib/gems/1.8/bin/chef-solo -j ~/chef.json -c ~/solo.rb -l debug # couch works with CHEF-737 fixes pushed to github.com/btm/cookbooks origin/08boot -
btm created this gist
Nov 25, 2009 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,53 @@ # ec2 ami-1515f67c sudo sed -i 's/universe/multiverse universe/' /etc/apt/sources.list sudo apt-get update sudo apt-get install -y ruby ruby1.8-dev libopenssl-ruby1.8 rdoc ri irb build-essential wget ssl-cert rubygems git-core rake librspec-ruby libxml-ruby thin couchdb sudo gem sources -a http://gems.opscode.com sudo gem sources -a http://gemcutter.org # for nanite sudo gem install cucumber merb-core nanite jeweler uuidtools json --no-ri --no-rdoc mkdir ~/src cd ~/src git clone git://github.com/opscode/chef.git git clone git://github.com/opscode/ohai.git cd ohai sudo rake install cd ../chef sudo rake install mkdir -p /tmp/chef-solo cd /tmp/chef-solo git clone git://github.com/danielsdeleo/cookbooks.git cd cookbooks # Create ~/chef.json: { "bootstrap": { "chef": { "url_type": "http", "init_style": "runit", "path": "/srv/chef", "serve_path": "/srv/chef", "server_fqdn": "localhost" } }, "recipes": "bootstrap::server" } # End of file # Create ~/solo.rb: file_cache_path "/tmp/chef-solo" cookbook_path "/tmp/chef-solo/cookbooks" # End of file git checkout 08boot sudo /var/lib/gems/1.8/bin/chef-solo -j ~/chef.json -c ~/solo.rb -l debug sudo sed -i ’s/;bind_address = 127.0.0.1/bind_address = 0.0.0.0/’ /etc/couchdb/local.ini sudo /etc/init.d/couchdb stop sudo killall -15 couchdb # stubborn sudo killall -15 beam # yup ps ax | grep couch | grep -v grep # no output sudo /etc/init.d/couchdb start sudo netstat -lnp | grep 5984 # verify "0.0.0.0:5984" # Connect to couch, no databases