summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2012-11-01 15:15:11 +0100
committervarac <varacanero@zeromail.org>2012-11-01 15:15:11 +0100
commit6a2453574e45b6778bfc66fc12a47421669d1614 (patch)
treed8d4d576b971b9f6e42d128088acd51aa119f429
parent9f7a64ab2813e2c475a776efff4ad9a380ca6cc1 (diff)
use couchdb x509 hiera values
-rw-r--r--puppet/modules/site_couchdb/manifests/init.pp6
1 files changed, 3 insertions, 3 deletions
diff --git a/puppet/modules/site_couchdb/manifests/init.pp b/puppet/modules/site_couchdb/manifests/init.pp
index f1cca46f..e3f5e59f 100644
--- a/puppet/modules/site_couchdb/manifests/init.pp
+++ b/puppet/modules/site_couchdb/manifests/init.pp
@@ -1,8 +1,8 @@
class site_couchdb {
- $couchdb_config = hiera('couchdb')
- $key = $couchdb_config['key']
- $cert = $couchdb_config['crt']
+ $x509 = hiera('x509')
+ $key = $x509['key']
+ $cert = $x509['cert']
# install couchdb package first, then configure it
Class['site_couchdb::package'] -> Class['site_couchdb::configure']