Permalink
Browse files

Merge pull request #4 from tas50/COOK-1637

COOK-1637: Directories that are attributes should always be recursively created
  • Loading branch information...
2 parents a7b0f31 + 494da4a commit b40194404fe4526f70e9a7e775766cec64515194 @jtimberman committed Sep 20, 2012
Showing with 6 additions and 1 deletion.
  1. +6 −1 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 b401944

Please sign in to comment.