...
 
Commits (3)
# manage puppetdb and its configuration
class ib_puppetserver::puppetdb(
$puppetdb_server = "puppetdb.${::domain}",
$puppetboard_server = "puppetdb.${::domain}",
$server = "puppet.${::domain}",
$puppetdb_server = "puppetdb.${facts['domain']}",
$puppetboard_server = "puppetdb.${facts['domain']}",
$server = "puppet.${facts['domain']}",
){
class{
'::puppetdb':
'puppetdb':
manage_dbserver => true,
manage_firewall => false,
disable_cleartext => true,
ssl_set_cert_paths => true,
disable_update_checking => true,
postgres_version => '13',
certificate_whitelist => [
$::fqdn,
$facts['fqdn'],
$server,
$puppetboard_server,
],
}
include ::ib_postgres::server::utils
include ib_postgres::server::utils
# 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,
require => Yumrepo['yum.postgresql.org'],
}
......