From: Tom Hughes Date: Fri, 7 Nov 2014 19:50:18 +0000 (+0000) Subject: Delete the secret_key_base attribute when dropping a dev site X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/54c48370c355d1e490f779d3674828cbac103db5?hp=7be9473d2bb0cfc6f839e72ee8ad9ea209067f85 Delete the secret_key_base attribute when dropping a dev site --- 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