603df7381d
This updates the module to be able to use puppetlabs-postgresql. Since this change is a major change, it marks this patch as a breaking change. I have prepared a suitable amount of upgrade notes for upgrading to this later version of the module plus removed anything marked deprecated. As cleanup, I've removed the troublesome 'tests' directory in favour of good README.md documentation. I've also removed any puppet docs from each module until such times as puppet docs become automated through the forge. This is just to avoid contributors having to double their efforts - the README.md is the authority now. Signed-off-by: Ken Barber <ken@bob.sh>
30 lines
725 B
Puppet
30 lines
725 B
Puppet
# Managed the puppetdb.conf file on the puppeet master. See README.md for more
|
|
# details.
|
|
class puppetdb::master::puppetdb_conf (
|
|
$server = 'localhost',
|
|
$port = '8081',
|
|
$soft_write_failure = false,
|
|
$puppet_confdir = $puppetdb::params::puppet_confdir,
|
|
) inherits puppetdb::params {
|
|
|
|
Ini_setting {
|
|
ensure => present,
|
|
section => 'main',
|
|
path => "${puppet_confdir}/puppetdb.conf",
|
|
}
|
|
|
|
ini_setting { 'puppetdbserver':
|
|
setting => 'server',
|
|
value => $server,
|
|
}
|
|
|
|
ini_setting { 'puppetdbport':
|
|
setting => 'port',
|
|
value => $port,
|
|
}
|
|
|
|
ini_setting { 'soft_write_failure':
|
|
setting => 'soft_write_failure',
|
|
value => $soft_write_failure,
|
|
}
|
|
}
|