From 6c33c1c5a7a6e314b6f46073c7763364e13a2248 Mon Sep 17 00:00:00 2001 From: varac Date: Mon, 12 Oct 2015 14:15:25 +0200 Subject: [bug] Make passing of admin_pw mandatory --- manifests/init.pp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index 066f429..cbddcf1 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -1,5 +1,5 @@ class couchdb ( - $admin_pw = '', + $admin_pw, $admin_salt = '', $bigcouch = false, $bigcouch_cookie = '', @@ -8,10 +8,6 @@ class couchdb ( $pwhash_alg = 'sha1' ) { - if $admin_pw == '' { - err('Must set admin password by passing a value to the $admin_pw parameter') - } - case $::operatingsystem { Debian: { case $::lsbdistcodename { -- cgit v1.2.3