summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2015-06-11 14:48:31 +0200
committervarac <varacanero@zeromail.org>2015-06-11 14:48:31 +0200
commitdfc0b76f2c4db0f470010519a9cd47bcb6a974b9 (patch)
treec2ee454b548c63b6f738e9e4df0a33f637f90d52 /manifests/init.pp
parent23b557c6fb07929a9b04e5fb75375a85a4734370 (diff)
Use pbkdf2 instead of sha1 as hashing algorithm for newer couchdb versions
couchdb v1.3 changed the default pw hashing algorithm from sha1 to pbkdf2, see http://docs.couchdb.org/en/1.4.x/configuring.html
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index dbd75f8..066f429 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -4,7 +4,8 @@ class couchdb (
$bigcouch = false,
$bigcouch_cookie = '',
$ednp_port = '9001',
- $chttpd_bind_address = '0.0.0.0' )
+ $chttpd_bind_address = '0.0.0.0',
+ $pwhash_alg = 'sha1' )
{
if $admin_pw == '' {