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 :gemcutter | |
| gem "rake" | |
| #gem "rails", :git => "git://github.com/rails/rails.git" | |
| gem "rails", "2.3.5" | |
| gem "pg" | |
| #gem "postgres" # TODO: need this one for AR 2.0; remove and use pg when AR is upgraded | |
| gem "mysql" |
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
| % kiwi search | |
| aws : 0.0.2 - Library for accessing Amazon Web Services (7) | |
| bench : 0.1.0 - Benchmark utility (5) | |
| class : 0.3.0 - High performance class implementation (tiny) (30) | |
| crypto : 0.0.5 - C++ hashing library (7) | |
| express : 0.9.0 - Sinatra inspired web development framework (549) | |
| express-session-mongodb : 0.1.0 - A persistent session store for Express backed by MongoDb (4) | |
| express-session-redis : 0.1.4 - A persistent session store for Express backed by Redis (15) | |
| ext : 0.5.0 - High quality extensions, date formatting, iterators and more (179) | |
| fab : 0.2.0 - (fab) is a DSL making it easy to build asynchronous web apps (14) |
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
| % knife search node 'postgresql' | |
| /home/rando/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/1.8/net/http.rb:2101:in `error!': 500 "Internal Server Error" (Net::HTTPFatalError) | |
| from /home/rando/.rvm/gems/ruby-1.8.7-p249/gems/chef-0.8.10/lib/chef/rest.rb:296:in `run_request' | |
| from /home/rando/.rvm/gems/ruby-1.8.7-p249/gems/chef-0.8.10/lib/chef/rest.rb:106:in `get_rest' | |
| from /home/rando/.rvm/gems/ruby-1.8.7-p249/gems/chef-0.8.10/lib/chef/search/query.rb:37:in `search' | |
| from /home/rando/.rvm/gems/ruby-1.8.7-p249/gems/chef-0.8.10/lib/chef/knife/search.rb:67:in `run' | |
| from /home/rando/.rvm/gems/ruby-1.8.7-p249/gems/chef-0.8.10/lib/chef/application/knife.rb:110:in `run' | |
| from /home/rando/.rvm/gems/ruby-1.8.7-p249/gems/chef-0.8.10/bin/knife:26 | |
| from /home/rando/.rvm/gems/ruby-1.8.7-p249/bin/knife:19:in `load' | |
| from /home/rando/.rvm/gems/ruby-1.8.7-p249/bin/knife:19 |
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
| ssbe@domU-12-31-39-02-3C-61:/srv/ssbe/core/current/db$ /opt/ruby-enterprise/bin/bundle install | |
| Fetching source index from http://gemcutter.org/ | |
| Using rake (0.8.7) from system gems | |
| Using activesupport (2.0.1) from bundler gems | |
| Using actionpack (2.0.1) from bundler gems | |
| Using actionmailer (2.0.1) from bundler gems | |
| Using activerecord (2.0.1) from bundler gems | |
| Using activeresource (2.0.1) from bundler gems | |
| Using rails (2.0.1) from bundler gems | |
| Using tzinfo (0.3.20) from bundler gems |
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
| default_attributes( | |
| "ssbe" => { | |
| "fqdn" => node[:fqdn] | |
| } | |
| ) |
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
| [Thu, 22 Apr 2010 17:56:20 +0000] INFO: remote_file[/tmp/ruby-enterprise-1.8.7-2010.01.tar.gz]: Creating /tmp/ruby-enterprise-1.8.7-2010.01.tar.gz | |
| [Thu, 22 Apr 2010 18:07:08 +0000] INFO: Ran bash[Install Ruby Enterprise Edition] successfully |
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
| % rvm 1.8.7 | |
| ruby ruby-1.8.7-update is not installed. | |
| To install do: 'rvm install ruby-1.8.7-update' | |
| % rvm install ruby-1.8.7-update | |
| Installing Ruby from source to: /home/rando/.rvm/rubies/ruby-1.8.7-update | |
| Downloading ruby-1.8.7-update, this may take a while depending on your connection... | |
| % Total % Received % Xferd Average Speed Time Time Time Current | |
| Dload Upload Total Spent Left Speed | |
| 0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0 |
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 | |
| BRANCH=`git branch --no-color | grep \* | awk '{ print $2 }'` | |
| VERSION=`git branch --no-color -v | grep \* | awk '{ print $3 }'` | |
| FILENAME=delta-$VERSION.tar.bz2 | |
| S3PATH=s3://ssbe/delta/$BRANCH | |
| if [ ! -e $FILENAME ] | |
| then | |
| tar -cjvf $FILENAME bin/ lib/ |
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
| ebs = node[:mongodb][:ebs] | |
| access_key = node[:aws][:access_key] | |
| secret_access_key = node[:aws][:secret_access_key] | |
| if ebs[:raid] | |
| ebs[:raid_volumes].times do |i| | |
| aws_ebs_volume "data_volume #{i+1}" do | |
| provider "aws_ebs_volume" |