Created
August 3, 2011 17:04
-
-
Save timcowlishaw/1123148 to your computer and use it in GitHub Desktop.
Resources for setting up RVM and Passenger on Chef
This file contains 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
http://www.agileweboperations.com/chef-rvm-ruby-enterprise-edition-as-default-ruby | |
http://www.christophersamuelson.com/2010/10/22/chef-rvm-capistrano-bundler/ | |
http://blog.ninjahideout.com/posts/a-guide-to-a-nginx-passenger-and-rvm-server | |
Chef workflow | |
after setting up a new cookbook (just create /copy the files into the cookbooks dir) | |
knife cookbook upload <COOKBOOK_NAME> | |
setting up roles - create new json file in /roles using others as template | |
then "knife role from fole <FILENAME> | |
test by creating a new ec2 instance with the appropriate role (or use vagrant) | |
to get rid of an ec2: | |
knife ec2 server delete <ID> | |
knife node delete <ID> | |
and | |
knife client delete <ID> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment