summaryrefslogtreecommitdiff
path: root/puppet/modules/tapicero/manifests
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2014-06-19 20:01:20 +0200
committerelijah <elijah@riseup.net>2014-06-25 18:17:22 -0700
commit7ee86658b0655ded592eecbaa8b1c5b841d8f846 (patch)
tree4e482c7647a5910210b25b14c49cf3dcb87a307c /puppet/modules/tapicero/manifests
parentd2f59e4cfab5b9fd164d24416b241b14ecfd9307 (diff)
set mirror option if we are on a couch mirror
Diffstat (limited to 'puppet/modules/tapicero/manifests')
-rw-r--r--puppet/modules/tapicero/manifests/init.pp1
1 files changed, 1 insertions, 0 deletions
diff --git a/puppet/modules/tapicero/manifests/init.pp b/puppet/modules/tapicero/manifests/init.pp
index af1a96ac..1db75eb0 100644
--- a/puppet/modules/tapicero/manifests/init.pp
+++ b/puppet/modules/tapicero/manifests/init.pp
@@ -12,6 +12,7 @@ class tapicero {
$couchdb_soledad_user = $couchdb_users['soledad']['username']
$couchdb_leap_mx_user = $couchdb_users['leap_mx']['username']
+ $couchdb_mirror = $couchdb['mode'] == 'mirror'
Class['site_config::default'] -> Class['tapicero']