summaryrefslogtreecommitdiff
path: root/puppet/modules/site_couchdb/manifests
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2016-02-01 15:56:41 -0800
committerelijah <elijah@riseup.net>2016-02-23 09:50:58 -0800
commitda2c743faaccd26604c4c26fbb1557934688eb4a (patch)
treebda43f9cb86d736183d4db8929b455a03ca77c0b /puppet/modules/site_couchdb/manifests
parent685642e8bfdaff16a4f02bd40b5d2aef15b68d94 (diff)
default to plain couchdb, unless otherwise specified.
# Conflicts: # puppet/modules/site_couchdb/manifests/plain.pp
Diffstat (limited to 'puppet/modules/site_couchdb/manifests')
-rw-r--r--puppet/modules/site_couchdb/manifests/init.pp4
-rw-r--r--puppet/modules/site_couchdb/manifests/plain.pp (renamed from puppet/modules/site_couchdb/manifests/master.pp)4
2 files changed, 4 insertions, 4 deletions
diff --git a/puppet/modules/site_couchdb/manifests/init.pp b/puppet/modules/site_couchdb/manifests/init.pp
index 8d79ae75..0c126f0c 100644
--- a/puppet/modules/site_couchdb/manifests/init.pp
+++ b/puppet/modules/site_couchdb/manifests/init.pp
@@ -41,8 +41,8 @@ class site_couchdb {
$couchdb_pwhash_alg = $couchdb_config['pwhash_alg']
if $couchdb_mode == 'multimaster' { include site_couchdb::bigcouch }
- if $couchdb_mode == 'master' { include site_couchdb::master }
- if $couchdb_mode == 'mirror' { include site_couchdb::mirror }
+ if $couchdb_mode == 'plain' { include site_couchdb::plain }
+ # if $couchdb_mode == 'mirror' { include site_couchdb::mirror }
Class['site_config::default']
-> Service['shorewall']
diff --git a/puppet/modules/site_couchdb/manifests/master.pp b/puppet/modules/site_couchdb/manifests/plain.pp
index 49d90f2f..64209142 100644
--- a/puppet/modules/site_couchdb/manifests/master.pp
+++ b/puppet/modules/site_couchdb/manifests/plain.pp
@@ -1,5 +1,5 @@
# this class sets up a single, plain couchdb node
-class site_couchdb::master {
+class site_couchdb::plain {
class { 'couchdb':
admin_pw => $site_couchdb::couchdb_admin_pw,
admin_salt => $site_couchdb::couchdb_admin_salt,
@@ -7,7 +7,7 @@ class site_couchdb::master {
pwhash_alg => $site_couchdb::couchdb_pwhash_alg
}
- include site_check_mk::agent::couchdb::master
+ include site_check_mk::agent::couchdb::plain
# remove bigcouch leftovers from previous installations
include ::site_config::remove::bigcouch