X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/ba65c5618d3113373c0f3306ce993917fc2af23a..57d7cd3ecda47266cc08d7e97b13e606405eb2a8:/cookbooks/chef/recipes/server.rb diff --git a/cookbooks/chef/recipes/server.rb b/cookbooks/chef/recipes/server.rb index f965592a1..93e9363dc 100644 --- a/cookbooks/chef/recipes/server.rb +++ b/cookbooks/chef/recipes/server.rb @@ -18,7 +18,7 @@ # include_recipe "apache" -include_recipe "munin" +include_recipe "chef::knife" # cache_dir = Chef::Config[:file_cache_path] # @@ -35,7 +35,7 @@ include_recipe "munin" # 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/20.04/chef-server-core_#{chef_version}-1_amd64.deb" # owner "root" # group "root" # mode 0644 @@ -52,7 +52,7 @@ template "/etc/opscode/chef-server.rb" do source "server.rb.erb" owner "root" group "root" - mode 0o640 + mode "640" notifies :run, "execute[chef-server-reconfigure]" end @@ -98,7 +98,5 @@ template "/etc/cron.daily/chef-server-backup" do source "server-backup.cron.erb" owner "root" group "root" - mode 0o755 + mode "755" end - -munin_plugin "chef_status"