config/ubuntu10.04-ironfan.erb in ironfan-3.1.4 vs config/ubuntu10.04-ironfan.erb in ironfan-3.1.5
- old
+ new
@@ -1,6 +1,6 @@
-bash <<EOF || echo "Chef bootstrap failed!"
+bash <<'EOF' || echo "Chef bootstrap failed!"
# This is the ubuntu natty bootstrap script from infochimps' ironfan. It is
# based on opscode's bootstrap script, with the following important differences:
#
# * installs ruby 1.9.2 (not 1.8.7) from source
@@ -122,14 +122,14 @@
) > /etc/chef/first-boot.json
echo -e "`date` \n\n**** \n**** Adding chef client runit scripts:\n****\n"
( service chef-client stop >/dev/null 2>&1 ; sleep 1 ; killall chef-client 2>/dev/null ) || true
mkdir -p /var/log/chef /var/chef /etc/service /etc/sv/chef-client/{log/main,supervise}
-cat > /etc/sv/chef-client/log/run <<EOP
+cat > /etc/sv/chef-client/log/run <<'EOP'
#!/bin/bash
exec svlogd -tt ./main
EOP
-cat > /etc/sv/chef-client/run <<EOP
+cat > /etc/sv/chef-client/run <<'EOP'
#!/bin/bash
exec 2>&1
exec /usr/bin/env chef-client -i 43200 -s 20 -L /var/log/chef/client.log
EOP
chmod +x /etc/sv/chef-client/log/run /etc/sv/chef-client/run