Created
April 2, 2009 22:05
-
-
Save lazzarello/89529 to your computer and use it in GitHub Desktop.
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
#!/usr/bin/perl -w | |
system "gem install chef-server --no-rdoc --no-ri --source http://ec2-174-129-154-218.compute-1.amazonaws.com:8808/"; | |
mkdir "/etc/chef"; | |
open(CHEF_SOLO, ">>/etc/chef/solo.rb"); | |
print CHEF_SOLO <<EOF | |
log_level :info | |
log_location STDOUT | |
file_cache_path "/tmp/chef-solo" | |
cookbook_path "/tmp/chef-solo/cookbooks" | |
Chef::Log::Formatter.show_time = false | |
EOF | |
; | |
close CHEF_SOLO; | |
system "chef-solo -r http://wiki.opscode.com/download/attachments/1179839/chef-server-install-solo-0.5.2.tar.gz"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment