summaryrefslogtreecommitdiff
path: root/manifests/ssl
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2012-11-01 10:05:31 +0100
committervarac <varacanero@zeromail.org>2012-11-01 10:05:31 +0100
commitfd8c6d9481910d7ee587cbd1098346da868f5068 (patch)
tree7d3d54db107aec9cc9032fa854c7cbafedab2819 /manifests/ssl
parent293e609c70157cbe73e9a7962b6bc9b5393b3778 (diff)
corrected ssl path
Diffstat (limited to 'manifests/ssl')
-rw-r--r--manifests/ssl/deploy_cert.pp8
1 files changed, 4 insertions, 4 deletions
diff --git a/manifests/ssl/deploy_cert.pp b/manifests/ssl/deploy_cert.pp
index cca5b21..4e9c158 100644
--- a/manifests/ssl/deploy_cert.pp
+++ b/manifests/ssl/deploy_cert.pp
@@ -1,7 +1,7 @@
define couchdb::ssl::deploy_cert ($cert, $key) {
-
+include couchdb::params
file { 'couchdb_cert_directory':
- path => "$couchdb::cert_path:",
+ path => "$couchdb::params::cert_path",
ensure => 'directory',
mode => '0600',
owner => 'couchdb',
@@ -9,7 +9,7 @@ define couchdb::ssl::deploy_cert ($cert, $key) {
}
file { 'couchdb_cert"':
- path => "$couchdb::cert_path/server_cert.pem",
+ path => "$couchdb::params::cert_path/server_cert.pem",
mode => '0644',
owner => 'couchdb',
group => 'couchdb',
@@ -17,7 +17,7 @@ define couchdb::ssl::deploy_cert ($cert, $key) {
}
file { 'couchdb_key':
- path => "$couchdb::cert_path/server_key.pem",
+ path => "$couchdb::params::cert_path/server_key.pem",
mode => '0600',
owner => 'couchdb',
group => 'couchdb',