From dc367e53b45349ef849247fc93c664c548c90359 Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Thu, 4 Apr 2013 12:36:24 -0400 Subject: clean-up commit: lint, standardize spacing, properly enclose variables, etc --- manifests/add_user.pp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'manifests/add_user.pp') 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}\"}", } } -- cgit v1.2.3