Skip to content

Commit

Permalink
Merge pull request #21 from odyssey4me/master
Browse files Browse the repository at this point in the history
Update chef-client install source and init script path
  • Loading branch information
willkelly committed Jul 12, 2013
2 parents 6f977a7 + 51301d6 commit 0595197
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/firstboot/chef-client.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ if [ -t 1 ]; then
fi

if [ ! -f /usr/bin/chef-client ]; then
bash < <(curl -s http://s3.amazonaws.com/opscode-full-stack/install.sh)
bash < <(curl -s http://www.opscode.com/chef/install.sh)
fi

mkdir -p /etc/chef
Expand Down Expand Up @@ -54,6 +54,6 @@ wget -O /etc/chef/validation.pem http://{{site.webservice_host}}:{{site.webservi

# 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/
cp /opt/opscode/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/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 0595197

Please sign in to comment.