diff options
author | varac <varacanero@zeromail.org> | 2013-03-12 14:10:54 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2013-03-12 14:10:54 +0100 |
commit | 546350d6f6e83e9ea22db79d07bdc38c694fbcdb (patch) | |
tree | 555e42591968cdddba668da7f2bf2f4b2f4e0eb5 /manifests/init.pp | |
parent | b915a67c6e7e3b1b75400dbbd4a9ac961c8eb032 (diff) | |
parent | 3647bc9cb0137bdfa1dfeeb1bd58c2f099fb5df0 (diff) |
Merge remote-tracking branch 'remotes/origin/feature/bigcouch'
Conflicts:
manifests/init.pp
Diffstat (limited to 'manifests/init.pp')
-rw-r--r-- | manifests/init.pp | 12 |
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}" } } } |