summaryrefslogtreecommitdiff
path: root/manifests/query
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2014-06-23 22:07:13 +0200
committerAzul <azul@riseup.net>2014-06-23 22:07:13 +0200
commit15092303c4828331457e7cebcae470de7ea7f3c7 (patch)
treed01d0b0d6f23fd3b986e40717f0995d820799e5d /manifests/query
parent6a2f8b50a0374d467662d9c3325c7229468f607d (diff)
create netrc files for all users
Diffstat (limited to 'manifests/query')
-rw-r--r--manifests/query/setup.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/query/setup.pp b/manifests/query/setup.pp
index b68e54f..451eb53 100644
--- a/manifests/query/setup.pp
+++ b/manifests/query/setup.pp
@@ -1,6 +1,6 @@
define couchdb::query::setup ($user, $pw, $host='127.0.0.1') {
- file { '/etc/couchdb/couchdb.netrc':
+ file { "/etc/couchdb/couchdb-${user}.netrc":
content => "machine ${host} login ${user} password ${pw}",
mode => '0600',
owner => $::couchdb::base::couchdb_user,