diff options
author | 2017-08-11 21:20:59 +0000 | |
---|---|---|
committer | 2017-08-11 21:20:59 +0000 | |
commit | 0406be8328b51d9d55f5e2421919d86b85dbc987 (patch) | |
tree | c30a54c4761c53fe2dbfd6ee9a0483e499a0de93 /puppet | |
parent | d7d3c1598849b205f3e4e31f4ce69aa6c7e26f27 (diff) | |
parent | 0d8a3399eb4cc5cd40a85a323990e710002a1624 (diff) |
Merge "TLS everywhere: Configure CA for mongodb"
Diffstat (limited to 'puppet')
-rw-r--r-- | puppet/services/database/mongodb.yaml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/puppet/services/database/mongodb.yaml b/puppet/services/database/mongodb.yaml index 04f34e24..dcead0f7 100644 --- a/puppet/services/database/mongodb.yaml +++ b/puppet/services/database/mongodb.yaml @@ -47,6 +47,11 @@ parameters: EnableInternalTLS: type: boolean default: false + InternalTLSCAFile: + default: '/etc/ipa/ca.crt' + type: string + description: Specifies the default CA cert to use if TLS is used for + services in the internal network. conditions: @@ -98,6 +103,7 @@ outputs: generate_service_certificates: true mongodb::server::ssl: true mongodb::server::ssl_key: '/etc/pki/tls/certs/mongodb.pem' + mongodb::server::ssl_ca: {get_param: InternalTLSCAFile} mongodb_certificate_specs: service_pem: '/etc/pki/tls/certs/mongodb.pem' service_certificate: '/etc/pki/tls/certs/mongodb.crt' |