anchor.diff:      echo -n "."
       if [ $i -gt 60 ]; then
         echo -n "restart-chef-client"
  -      service chef-client restart
  +      /etc/init.d/chef-client restart
         i="0"
       fi
     done
  
positive.code: 
  export DEBIAN_FRONTEND=noninteractive
  
  echo "127.0.0.1 <%= @config[:hostname] %>" | tee -a /etc/hosts
  echo "<%= @config[:hostname] %>" | tee /etc/hostname
  hostname <%= @config[:hostname] %>
  
  
negative.code:     sleep 1
    done
    kill `jobs -p` && sleep 3
    /etc/init.d/chef-server-webui start && sleep 3
  fi
  
  if [ ! -f /etc/chef/client.pem ]; then
    /etc/init.d/chef-client restart
    echo -n "Waiting on client.pem to appear..."
    i="0"
    until [ -f /etc/chef/client.pem ]; do
  