summaryrefslogtreecommitdiff
path: root/puppet/modules
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-07-29 01:10:33 -0700
committerelijah <elijah@riseup.net>2013-07-30 16:44:03 -0700
commit95fc96fc7642e389172b02cb8ef7d4b7689cb7df (patch)
treec2952d8afe373230faf3dbc25d909297904e3bbd /puppet/modules
parentb87bd57ad010ee6f091f77b8b1f653afafc0e4c7 (diff)
webapp - use hiera config "webapp.admins" for the list of admin usernames, default to empty list.
Diffstat (limited to 'puppet/modules')
-rw-r--r--puppet/modules/site_webapp/templates/config.yml.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/puppet/modules/site_webapp/templates/config.yml.erb b/puppet/modules/site_webapp/templates/config.yml.erb
index 8b4b3bbe..05d62d41 100644
--- a/puppet/modules/site_webapp/templates/config.yml.erb
+++ b/puppet/modules/site_webapp/templates/config.yml.erb
@@ -1,6 +1,6 @@
<%- cert_options = @webapp['client_certificates'] -%>
production:
- admins: [admin]
+ admins: <%= @webapp['admins'].inspect %>
domain: <%= @provider_domain %>
force_ssl: <%= @webapp['secure'] %>
client_ca_key: <%= scope.lookupvar('site_webapp::client_ca::key_path') %>