X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/1c848471a16f9d1ee1fc8a327af110447ea1ef4c..0689c09ff5ec373c978c55abb058f4dfdee6ada6:/cookbooks/web/recipes/frontend.rb diff --git a/cookbooks/web/recipes/frontend.rb b/cookbooks/web/recipes/frontend.rb index 8ed2db77b..b6146eb8c 100644 --- a/cookbooks/web/recipes/frontend.rb +++ b/cookbooks/web/recipes/frontend.rb @@ -20,6 +20,8 @@ include_recipe "apache::ssl" include_recipe "web::rails" +web_passwords = data_bag_item("web", "passwords") + apache_module "alias" apache_module "deflate" apache_module "expires" @@ -34,6 +36,7 @@ end apache_site "www.openstreetmap.org" do template "apache.frontend.erb" + variables :secret_key_base => web_passwords["secret_key_base"] end gem_package "hpricot"