summaryrefslogtreecommitdiff
path: root/puppet/modules/site_webapp/templates
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-01-11 17:12:49 -0800
committerelijah <elijah@riseup.net>2013-01-11 17:12:49 -0800
commit886063ca1db3a4ce8fbd72e4ead9b5f2371979a5 (patch)
treebc88348765549074d74ae0f925d5e1332f3dcf5d /puppet/modules/site_webapp/templates
parenta1fae6722d541fe52d45deb690785562d0751265 (diff)
configure webapp with correct domain
Diffstat (limited to 'puppet/modules/site_webapp/templates')
-rw-r--r--puppet/modules/site_webapp/templates/config.yml.erb3
-rw-r--r--puppet/modules/site_webapp/templates/couchdb.yml.erb6
2 files changed, 6 insertions, 3 deletions
diff --git a/puppet/modules/site_webapp/templates/config.yml.erb b/puppet/modules/site_webapp/templates/config.yml.erb
new file mode 100644
index 00000000..5e223a58
--- /dev/null
+++ b/puppet/modules/site_webapp/templates/config.yml.erb
@@ -0,0 +1,3 @@
+production:
+ admins: [admin]
+ domain: <%= @provider_domain %>
diff --git a/puppet/modules/site_webapp/templates/couchdb.yml.erb b/puppet/modules/site_webapp/templates/couchdb.yml.erb
index e5678680..ee521713 100644
--- a/puppet/modules/site_webapp/templates/couchdb.yml.erb
+++ b/puppet/modules/site_webapp/templates/couchdb.yml.erb
@@ -1,8 +1,8 @@
production:
prefix: ""
protocol: 'https'
- host: <%= couchdb_host %>
+ host: <%= @couchdb_host %>
port: 6984
- username: <%= couchdb_user %>
- password: <%= couchdb_password %>
+ username: <%= @couchdb_user %>
+ password: <%= @couchdb_password %>