diff options
Diffstat (limited to 'manifests/query/setup.pp')
-rw-r--r-- | manifests/query/setup.pp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/manifests/query/setup.pp b/manifests/query/setup.pp new file mode 100644 index 0000000..a5d1657 --- /dev/null +++ b/manifests/query/setup.pp @@ -0,0 +1,8 @@ +define couchdb::query::setup ($host='127.0.0.1', $user, $pw) { + file { '/etc/couchdb/couchdb.netrc': + content => "machine $host login $user password $pw", + mode => '0600', + owner => 'couchdb', + group => 'couchdb', + } +} |