chef_platform = case node[:platform_version]
when "12.10" then "12.04"
+ when "14.04" then "12.04"
else node[:platform_version]
end
-chef_package = "chef-server_#{node[:chef][:server][:version]}.ubuntu.#{chef_platform}_amd64.deb"
+chef_package = "chef-server_#{node[:chef][:server][:version]}_amd64.deb"
directory "/var/cache/chef" do
owner "root"