Skip to content

Commit

Permalink
adding chef-client upstart configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
galstrom21 committed May 16, 2012
1 parent 95c4207 commit 508a172
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion templates/firstboot/chef-client.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,8 @@ EOF

wget -O /etc/chef/validation.pem http://{{site.webservice_host}}:{{site.webservice_port}}/media/chef_validators/{{site.chef_validation_pem}}

/usr/bin/chef-client
# Configure chef-client upstart
mkdir /var/log/chef
cp /opt/opscode/embedded/lib/ruby/gems/1.9.1/gems/chef-0.10.8/distro/debian/etc/init/chef-client.conf /etc/init/
ln -s /lib/init/upstart-job /etc/init.d/chef-client
/etc/init.d/chef-client start

0 comments on commit 508a172

Please sign in to comment.