anchor.diff:  
   ## Install Chef Server
   
  -temp_dir="<%= Dir.mktmpdir %>"
  +temp_dir="/opt/chef/chef-server-package"
  +
   <% if node['chef-server-image']['package_url'] %>
  +  sudo mkdir $temp_dir
     if ! exists /usr/bin/chef-server-ctl; then
       echo "Installing Chef Server..."
       pkg_url="<%= node['chef-server-image']['package_url'] %>"
  
positive.code: 
  sudo mkdir /etc/chef-server
  
  cat > /etc/chef-server/chef-server.rb <<'EOP'
  
  topology "standalone"
  
  api_fqdn "<%= node['chef-server']['api_fqdn'] %>"
  
  <% node['chef-server']['configuration'].each_pair do |component, tunables| -%>
  <% case tunables -%>
  
negative.code:     fi
      sudo dpkg -i $temp_dir/chef-server-pkg
      checkStatus "Chef-Server Package installation failed..."
      # Remove chef-server installer file
      sudo rm -rf $temp_dir
    fi
  <% else %>
    version="<%= node['chef-server-image']['package_version'] %>"
  