X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/d4c21371069c4229dce7fc4316a1dea6d6e882e9..974d2ff3a3ff7f13d26667972fb2ab802f76e826:/cookbooks/dev/recipes/default.rb diff --git a/cookbooks/dev/recipes/default.rb b/cookbooks/dev/recipes/default.rb index 1888e9cdd..ed190970d 100644 --- a/cookbooks/dev/recipes/default.rb +++ b/cookbooks/dev/recipes/default.rb @@ -258,9 +258,7 @@ if node[:postgresql][:clusters][:"12/main"] if details[:repository] site_aliases = details[:aliases] || [] - secret_key_base = details[:secret_key_base] || SecureRandom.base64(96) - - node.normal[:dev][:rails][name][:secret_key_base] = secret_key_base + secret_key_base = persistent_token("dev", "rails", name, "secret_key_base") postgresql_database database_name do cluster "12/main" @@ -447,8 +445,6 @@ if node[:postgresql][:clusters][:"12/main"] action :drop cluster "12/main" end - - node.normal[:dev][:rails].delete(name) end end