anchor.diff:  fi
   
   cat <<EOF > /etc/chef/first-boot.json
  -<%= { "run_list" => "role[test_lab]" }.to_json %>
  +<%= @config[:attributes].to_json %>
   EOF
   
   touch /.cucumber-chef-bootstrap
  
positive.code:     echo -n "."
      if [ $i -gt 60 ]; then
        echo -n "restart-chef-client"
        service chef-client restart
        i="0"
      fi
    done
  
negative.code: 
  export DEBIAN_FRONTEND=noninteractive
  
  sed -i "s/127.0.0.1 localhost/127.0.0.1 <%= @config[:hostname] %> <%= @config[:hostname].split(".")[0] %> localhost/" /etc/hosts
  echo "<%= @config[:hostname] %>" | tee /etc/hostname
  hostname <%= @config[:hostname] %>
  
  