diff options
Diffstat (limited to 'manifests/ssl/deploy_cert.pp')
-rw-r--r-- | manifests/ssl/deploy_cert.pp | 8 |
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', |