feat: change clients to use puppet.query.consul

- change all clients/servers to use puppet from consul service mesh
This commit is contained in:
Ben Vincent 2024-05-05 16:47:39 +10:00
parent f1ff7cb736
commit 6335167e3a
2 changed files with 5 additions and 0 deletions

View File

@ -180,6 +180,8 @@ profiles::packages::remove:
profiles::base::scripts::scripts: profiles::base::scripts::scripts:
puppet: puppetwrapper.py puppet: puppetwrapper.py
profiles::puppet::client::server: 'puppet.query.consul'
profiles::puppet::client::ca_server: 'puppetca.query.consul'
profiles::puppet::client::environment: 'develop' profiles::puppet::client::environment: 'develop'
profiles::puppet::client::runinterval: 1800 profiles::puppet::client::runinterval: 1800
profiles::puppet::client::runtimeout: 3600 profiles::puppet::client::runtimeout: 3600

View File

@ -37,6 +37,9 @@ profiles::helpers::certmanager::vault_config:
output_path: '/tmp/certmanager' output_path: '/tmp/certmanager'
role_id: "%{lookup('certmanager::role_id')}" role_id: "%{lookup('certmanager::role_id')}"
profiles::puppet::server::agent_server: 'puppet.query.consul'
profiles::puppet::server::report_server: 'puppet.query.consul'
profiles::puppet::server::ca_server: 'puppetca.query.consul'
profiles::puppet::server::dns_alt_names: profiles::puppet::server::dns_alt_names:
- "%{facts.networking.fqdn}" - "%{facts.networking.fqdn}"
- "%{facts.networking.hostname}" - "%{facts.networking.hostname}"