From 54c48370c355d1e490f779d3674828cbac103db5 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Fri, 7 Nov 2014 19:50:18 +0000 Subject: [PATCH] Delete the secret_key_base attribute when dropping a dev site --- cookbooks/dev/recipes/default.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cookbooks/dev/recipes/default.rb b/cookbooks/dev/recipes/default.rb index 45e02ad53..13a6f9632 100644 --- a/cookbooks/dev/recipes/default.rb +++ b/cookbooks/dev/recipes/default.rb @@ -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 -- 2.39.5