Make sure /etc/chef exists
authorTom Hughes <tom@compton.nu>
Fri, 31 May 2013 14:25:52 +0000 (15:25 +0100)
committerTom Hughes <tom@compton.nu>
Fri, 31 May 2013 14:25:52 +0000 (15:25 +0100)
cookbooks/chef/recipes/default.rb

index bbd9750f5e40fa67333226b5dc04f9a620a06e12..5ca080cb4d417666f4da2682f36dd134d0f38939 100644 (file)
@@ -57,6 +57,12 @@ template "/etc/init/chef-client.conf" do
   mode 0644
 end
 
+directory "/etc/chef" do
+  owner "root"
+  group "root"
+  mode 0755
+end
+
 template "/etc/chef/client.rb" do
   source "client.rb.erb"
   owner "root"