#
include_recipe "apache"
-include_recipe "munin"
+include_recipe "chef::knife"
# cache_dir = Chef::Config[:file_cache_path]
#
# end
#
# remote_file "#{cache_dir}/#{chef_package}" do
-# source "https://packages.chef.io/files/stable/chef-server/#{chef_version}/ubuntu/16.04/#{chef_package}"
+# source "https://packages.chef.io/files/stable/chef-server/#{chef_version}/ubuntu/22.04/chef-server-core_#{chef_version}-1_amd64.deb"
# owner "root"
# group "root"
# mode 0644
# notifies :run, "execute[chef-server-reconfigure]"
# end
-chef_gem "knife"
-
template "/etc/opscode/chef-server.rb" do
source "server.rb.erb"
owner "root"
group "root"
mode "755"
end
-
-munin_plugin "chef_status"