- 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
14 lines
366 B
Puppet
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
|
|
}
|
|
}
|
|
}
|