Skip to content

Instantly share code, notes, and snippets.

@lazzarello
Created April 2, 2009 22:05
Show Gist options
  • Save lazzarello/89529 to your computer and use it in GitHub Desktop.
Save lazzarello/89529 to your computer and use it in GitHub Desktop.
#!/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