Skip to content
Browse files

Adds attribute to recursively create directory.

  • Loading branch information...
1 parent 0312fb2 commit 05a992f451190a446976c6d3ad2fccbc5f942a50 @jcarley committed May 19, 2012
Showing with 7 additions and 6 deletions.
  1. +7 −6 cookbooks/main/recipes/default.rb
View
13 cookbooks/main/recipes/default.rb
@@ -1,11 +1,11 @@
package "zsh"
-directory "/var/chef/cache" do
- owner "root"
- group "root"
- mode "755"
- action :create
-end
+#directory "/var/chef/cache" do
+ #owner "root"
+ #group "root"
+ #mode "755"
+ #action :create
+#end
group "admin" do
end
@@ -25,6 +25,7 @@
directory "/home/#{node[:user][:name]}/apps/example" do
owner node[:user][:name]
+ recursive true
end
file "/home/#{node[:user][:name]}/apps/example/index.html" do

0 comments on commit 05a992f

Please sign in to comment.
Something went wrong with that request. Please try again.