Fix attribute lookup.
authorMatt Amos <zerebubuth@gmail.com>
Sun, 18 Jan 2015 00:19:40 +0000 (00:19 +0000)
committerMatt Amos <zerebubuth@gmail.com>
Sun, 18 Jan 2015 00:19:40 +0000 (00:19 +0000)
cookbooks/planet/recipes/default.rb

index ba18e2a6a3394c7cdafd08c1775eaa4c6f8a4af6..c3324d0dc6ad60c884857b582bb8da2d5b6ed22f 100644 (file)
@@ -51,9 +51,9 @@ remote_directory "/store/planet" do
   files_mode 0755
 end
 
-["xml_directory", "xml_history_directory",
"pbf_directory", "pbf_history_directory"].each do |dir|
-  directory dir do
+[:xml_directory, :xml_history_directory,
:pbf_directory, :pbf_history_directory].each do |dir|
+  directory node[:planet][:dump][dir] do
     owner "www-data"
     group "planet"
     mode 0775