summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2013-03-12 14:10:54 +0100
committervarac <varacanero@zeromail.org>2013-03-12 14:10:54 +0100
commit546350d6f6e83e9ea22db79d07bdc38c694fbcdb (patch)
tree555e42591968cdddba668da7f2bf2f4b2f4e0eb5 /manifests/init.pp
parentb915a67c6e7e3b1b75400dbbd4a9ac961c8eb032 (diff)
parent3647bc9cb0137bdfa1dfeeb1bd58c2f099fb5df0 (diff)
Merge remote-tracking branch 'remotes/origin/feature/bigcouch'
Conflicts: manifests/init.pp
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp12
1 files changed, 10 insertions, 2 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 75a638f..d62bb9e 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -1,8 +1,16 @@
-class couchdb {
+class couchdb (
+ $admin_pw,
+ $bigcouch = false,
+ $bigcouch_cookie = '' ) {
case $::operatingsystem {
Debian: {
case $::lsbdistcodename {
- /lenny|squeeze|wheezy/: { include couchdb::debian }
+ /lenny|squeeze|wheezy/: {
+ include couchdb::debian
+ if $bigcouch == true {
+ include couchdb::bigcouch::debian
+ }
+ }
default: { fail "couchdb not available for ${::operatingsystem}/${::lsbdistcodename}" }
}
}