]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/chef/recipes/default.rb
Fix more rubocop detected style issues
[chef.git] / cookbooks / chef / recipes / default.rb
index 902eab14aeff8632077581c1c2b4f29fb8452bd1..600a21b49a05ab4d5fb62d16a17285ade1a05fc6 100644 (file)
@@ -22,9 +22,9 @@ chef_gem "pony"
 chef_package = "chef_#{node[:chef][:client][:version]}_amd64.deb"
 
 chef_platform = case node[:platform_version]
-                  when "12.10" then "12.04"
-                  when "14.04" then "13.04"
-                  else node[:platform_version]
+                when "12.10" then "12.04"
+                when "14.04" then "13.04"
+                else node[:platform_version]
                 end
 
 directory "/var/cache/chef" do
@@ -96,6 +96,19 @@ template "/etc/logrotate.d/chef" do
   mode 0644
 end
 
+directory "/etc/chef/trusted_certs" do
+  owner "root"
+  group "root"
+  mode 0755
+end
+
+template "/etc/chef/trusted_certs/verisign.pem" do
+  source "verisign.pem.erb"
+  owner "root"
+  group "root"
+  mode 0644
+end
+
 directory "/etc/chef/ohai" do
   owner "root"
   group "root"