Skip to content

Commit 05cf44b

Browse files
author
Elliott Barrere 
committed
Enable soft_write_failure setting when $puppetdb::disablessl = true
The puppet agent will refuse to run if it can’t make a secure connection to the puppetdb server. This setting disables that in case SSL is disabled.
1 parent 51a08a8 commit 05cf44b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

manifests/master/puppetdb_conf.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
class puppetdb::master::puppetdb_conf (
44
$server = 'localhost',
55
$port = '8081',
6-
$soft_write_failure = false,
6+
$soft_write_failure = $puppetdb::disable_ssl ? { true => true, default => false, },
77
$puppet_confdir = $puppetdb::params::puppet_confdir,
88
) inherits puppetdb::params {
99

0 commit comments

Comments
 (0)