Fix secret key deletion when a rails API is removed
authorTom Hughes <tom@compton.nu>
Sun, 18 Jan 2015 19:07:11 +0000 (19:07 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 18 Jan 2015 19:07:11 +0000 (19:07 +0000)
cookbooks/dev/recipes/default.rb

index 13a6f96..3dd8473 100644 (file)
@@ -206,7 +206,7 @@ if node[:postgresql][:clusters][:"9.1/main"]
         cluster "9.3/main"
       end
 
-      node[:dev][:rails][name].delete(:secret_key_base)
+      node.set[:dev][:rails][name].delete(:secret_key_base)
     end
   end