Commits (3)
# manage puppetdb and its configuration # manage puppetdb and its configuration
class ib_puppetserver::puppetdb( class ib_puppetserver::puppetdb(
$puppetdb_server = "puppetdb.${::domain}", $puppetdb_server = "puppetdb.${facts['domain']}",
$puppetboard_server = "puppetdb.${::domain}", $puppetboard_server = "puppetdb.${facts['domain']}",
$server = "puppet.${::domain}", $server = "puppet.${facts['domain']}",
){ ){
class{ class{
'::puppetdb': 'puppetdb':
manage_dbserver => true, manage_dbserver => true,
manage_firewall => false, manage_firewall => false,
disable_cleartext => true, disable_cleartext => true,
ssl_set_cert_paths => true, ssl_set_cert_paths => true,
disable_update_checking => true, disable_update_checking => true,
postgres_version => '13',
certificate_whitelist => [ certificate_whitelist => [
$::fqdn, $facts['fqdn'],
$server, $server,
$puppetboard_server, $puppetboard_server,
], ],
} }
include ::ib_postgres::server::utils include ib_postgres::server::utils
# make sure it's not getting wiped # make sure it's not getting wiped
file{'/etc/yum.repos.d/yum.postgresql.org.repo': file{
[ '/etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG',
'/etc/yum.repos.d/yum.postgresql.org.repo',
'/etc/yum.repos.d/pgdg-redhat-all.repo' ]:
ensure => file, ensure => file,
require => Yumrepo['yum.postgresql.org'], require => Yumrepo['yum.postgresql.org'],
} }
......