Skip to content

Commit da4e0ee

Browse files
committed
Merge branch 'fix-ssl-protocols'
* fix-ssl-protocols: Add ssl_protocol param to puppetdb & puppetdb::server classes
2 parents 1c71813 + c3cdd86 commit da4e0ee

3 files changed

Lines changed: 8 additions & 0 deletions

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,10 @@ If true, the puppetdb web server will only serve HTTP and not HTTPS requests (de
216216

217217
If true, open the ssl_listen\_port on the firewall (defaults to true).
218218

219+
####`ssl_protocols`
220+
221+
specify the supported SSL protocols for PuppetDB (e.g. TLSv1, TLSv1.1, TLSv1.2.)
222+
219223
###`manage_dbserver`
220224

221225
If true, the PostgreSQL server will be managed by this module (defaults to true).

manifests/init.pp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
$ssl_key = $puppetdb::params::ssl_key,
1818
$ssl_cert = $puppetdb::params::ssl_cert,
1919
$ssl_ca_cert = $puppetdb::params::ssl_ca_cert,
20+
$ssl_protocols = $puppetdb::params::ssl_protocols,
2021
$manage_dbserver = $puppetdb::params::manage_dbserver,
2122
$database = $puppetdb::params::database,
2223
$database_host = $puppetdb::params::database_host,
@@ -74,6 +75,7 @@
7475
ssl_key => $ssl_key,
7576
ssl_cert => $ssl_cert,
7677
ssl_ca_cert => $ssl_ca_cert,
78+
ssl_protocols => $ssl_protocols,
7779
database => $database,
7880
database_host => $database_host,
7981
database_port => $database_port,

manifests/server.pp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
$ssl_key = $puppetdb::params::ssl_key,
1717
$ssl_cert = $puppetdb::params::ssl_cert,
1818
$ssl_ca_cert = $puppetdb::params::ssl_ca_cert,
19+
$ssl_protocols = $puppetdb::params::ssl_protocols,
1920
$database = $puppetdb::params::database,
2021
$database_host = $puppetdb::params::database_host,
2122
$database_port = $puppetdb::params::database_port,
@@ -193,6 +194,7 @@
193194
ssl_key_path => $ssl_key_path,
194195
ssl_cert_path => $ssl_cert_path,
195196
ssl_ca_cert_path => $ssl_ca_cert_path,
197+
ssl_protocols => $ssl_protocols,
196198
disable_ssl => $disable_ssl,
197199
confdir => $confdir,
198200
max_threads => $max_threads,

0 commit comments

Comments
 (0)