Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
36 lines (22 sloc) 1.36 KB
== Chef-Solo Example for Debian 5.0.4 ==
This project was created to showcase an example usage of chef-solo.
Download the CD ISO file:
Install it under Virtual Box, VMWare or Parallels. To make it easy, create a "debian.local" hostname into your physical machine's /etc/hosts file pointing up to the virtual machine's ip address.
Now log into the virtual machine with the "root" user and do the following:
apt-get install ssh
dpkg -i ruby-enterprise_1.8.7-2010.01_i386.deb
gem install chef ohai --no-ri --no-rdoc
wget -O ~/chef.tar
cd /etc
tar xvf ~/chef.tar
wget -O ~/cookbooks.tar
mkdir -p /var/chef-solo
cd /var/chef-solo
tar xvf ~/cookbooks.tar
Now edit the "/etc/chef/dna.json" file to suit your needs. For the specific password generation use the command "openssl passwd -1" and copy the resulting string in the dna.json file. Then run:
chef-solo -c /etc/chef/solo.rb -j /etc/chef/dna.json
It will dump a stack trace at the end but the configuratin will go through to the end properly (still unaware why it dumps it).
== Author ==
Fabio Akita (