]> git.openstreetmap.org Git - chef.git/commitdiff
Delete the secret_key_base attribute when dropping a dev site
authorTom Hughes <tom@compton.nu>
Fri, 7 Nov 2014 19:50:18 +0000 (19:50 +0000)
committerTom Hughes <tom@compton.nu>
Fri, 7 Nov 2014 19:50:18 +0000 (19:50 +0000)
cookbooks/dev/recipes/default.rb

index 45e02ad53aadc09a68f5f9d3668e07a92306bf3f..13a6f96326834c9f6438a2a87f9cd1e62598e8ad 100644 (file)
@@ -205,6 +205,8 @@ if node[:postgresql][:clusters][:"9.1/main"]
         action :drop
         cluster "9.3/main"
       end
+
+      node[:dev][:rails][name].delete(:secret_key_base)
     end
   end