Delete the secret_key_base attribute when dropping a dev site
[chef.git] / 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