Skip to content

Commit

Permalink
Adds attribute to recursively create directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
jcarley committed May 20, 2012
1 parent 0312fb2 commit 05a992f
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions cookbooks/main/recipes/default.rb
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down

0 comments on commit 05a992f

Please sign in to comment.