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
This commit is contained in:
2024-05-20 21:07:37 +10:00
parent 4b0ff2deee
commit 39aa6e114e
6 changed files with 71 additions and 12 deletions
+3 -1
View File
@@ -6,6 +6,8 @@ class roles::infra::puppetdb::sql {
}else{
include profiles::defaults
include profiles::base
include profiles::puppet::puppetdb_sql
if $facts['enc_role'] == 'roles::infra::puppetdb::sql' {
include profiles::puppet::puppetdb_sql
}
}
}