Browse files

Directories that are attributes should always be recursively created

There's no way to know what someone might make these directories
  • Loading branch information...
1 parent a7b0f31 commit 494da4afc9564bd67004f33245722b7e482c1ab2 @tas50 tas50 committed Sep 8, 2012
Showing with 6 additions and 1 deletion.
  1. +6 −1 recipes/rubygems-install.rb
View
7 recipes/rubygems-install.rb
@@ -105,6 +105,7 @@
owner "chef"
group root_group
mode 0755
+ recursive true
end
end
@@ -129,13 +130,15 @@
owner "chef"
group root_group
mode 0755
+ recursive true
end
%w{ cache search_index }.each do |dir|
directory "#{node['chef_server']['path']}/#{dir}" do
owner "chef"
group root_group
mode 0755
+ recursive true
end
end
@@ -149,6 +152,7 @@
owner "chef"
group root_group
mode 0755
+ recursive true
end
# install solr
@@ -184,6 +188,7 @@
owner "chef"
group root_group
mode 0755
+ recursive true
end
dist_dir = value_for_platform(
@@ -264,4 +269,4 @@
log("Could not determine service init style, manual intervention required to set up server services.")
-end
+end

0 comments on commit 494da4a

Please sign in to comment.