summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2015-10-12 14:15:25 +0200
committervarac <varacanero@zeromail.org>2015-10-13 17:56:12 +0200
commit6c33c1c5a7a6e314b6f46073c7763364e13a2248 (patch)
tree1cfc02fbc5bf422506b5aeedb1d06c33c5498c33
parent5b3699f1aa5200202109a6ff59bd19a653762ee9 (diff)
[bug] Make passing of admin_pw mandatory
-rw-r--r--manifests/init.pp6
1 files changed, 1 insertions, 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 {