summaryrefslogtreecommitdiff
path: root/manifests/add_user.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/add_user.pp')
-rw-r--r--manifests/add_user.pp6
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/add_user.pp b/manifests/add_user.pp
index e455124..cd72530 100644
--- a/manifests/add_user.pp
+++ b/manifests/add_user.pp
@@ -6,10 +6,10 @@ define couchdb::add_user ( $roles, $pw ) {
$port = 5984
}
- couchdb::update { "update_user_$name":
+ couchdb::update { "update_user_${name}":
port => $port,
db => '_users',
- id => "org.couchdb.user:$name",
- data => "{\"type\": \"user\", \"name\": \"$name\", \"roles\": $roles, \"password\": \"$pw\"}",
+ id => "org.couchdb.user:${name}",
+ data => "{\"type\": \"user\", \"name\": \"${name}\", \"roles\": ${roles}, \"password\": \"${pw}\"}",
}
}