diff options
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}" } } } |