anchor.diff:    echo "$environment" > $envfile
     chmod 644 $envfile
   
  +  echo "$username" > $launchedbyfile
  +  chmod 644 $launchedbyfile
  +
     echo "configuring chef solo..."
     cat<<EOF > ${chef_dir}/solo.rb
   repo_dir =    "${repo_dir}"
  
positive.code: hostname='<%= opts['instance_hostname'] %>'
  domain_name='<%= opts['instance_domain_name'] %>'
  chef_version='<%= opts['chef_version'] %>'
  
  
  ##
  
negative.code: repo_dir=${chef_dir}/src
  keyfile=${chef_dir}/git_key
  envfile=${chef_dir}/environment
  launchedbyfile=${chef_dir}/launched_by
  rolefile=${chef_dir}/role
  branchfile=${chef_dir}/branch
  originfile=${chef_dir}/origin
  