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.
This commit is contained in:
Elliott Barrere  2013-12-11 14:36:32 -08:00
parent 51a08a85b4
commit 05cf44b937

View file

@ -3,7 +3,7 @@
class puppetdb::master::puppetdb_conf (
$server = 'localhost',
$port = '8081',
$soft_write_failure = false,
$soft_write_failure = $puppetdb::disable_ssl ? { true => true, default => false, },
$puppet_confdir = $puppetdb::params::puppet_confdir,
) inherits puppetdb::params {