+# file deb do
+# action :delete
+# backup false
+# end
+# end
+#
+# remote_file "/var/cache/chef/#{chef_package}" do
+# source "https://web-dl.packagecloud.io/chef/stable/packages/ubuntu/#{node[:lsb][:codename]}/#{chef_package}"
+# owner "root"
+# group "root"
+# mode 0644
+# backup false
+# end
+#
+# dpkg_package "chef-server-core" do
+# source "/var/cache/chef/#{chef_package}"
+# version node[:chef][:server][:version]
+# notifies :run, "execute[chef-server-reconfigure]"
+# end
+
+template "/etc/opscode/chef-server.rb" do
+ source "server.rb.erb"
+ owner "root"
+ group "root"
+ mode 0o644
+ notifies :run, "execute[chef-server-reconfigure]"
+end