puppet-prod/site/roles/manifests/infra/puppetdb/sql.pp
Ben Vincent 39aa6e114e feat: puppetdb sql updates
- add consul support
- enable local script checks in consul agents
- add a test DB/User for consult to verify the psql instance is running
- manage the postgresql repo and gpg key
2024-05-22 22:05:54 +10:00

14 lines
366 B
Puppet

# a role to deploy the puppetdb postgresql service
class roles::infra::puppetdb::sql {
if $facts['firstrun'] {
include profiles::defaults
include profiles::firstrun::init
}else{
include profiles::defaults
include profiles::base
if $facts['enc_role'] == 'roles::infra::puppetdb::sql' {
include profiles::puppet::puppetdb_sql
}
}
}