feat: move puppetca role
All checks were successful
Build / precommit (pull_request) Successful in 3m26s

- move puppetca from vm to lxd
- remove old ca host hieradata
- ensure this new ca (and all new ca's) can revoke certificates
This commit is contained in:
Ben Vincent 2025-07-09 20:06:07 +10:00
parent 7d87e11e79
commit 83205d7c14
3 changed files with 6 additions and 7 deletions

View File

@ -13,9 +13,3 @@ profiles::ssh::sign::principals:
profiles::puppet::puppetca::is_puppetca: true
profiles::puppet::puppetca::allow_subject_alt_names: true
networking::interfaces:
eth0:
ipaddress: 198.18.13.46
networking::routes:
default:
gateway: 198.18.13.254

View File

@ -31,6 +31,9 @@ class profiles::puppet::server (
Integer $facts_soft_limit = 4096,
) {
# add a bool for if this host is a ca, used in the auth.conf file
$is_ca = hiera('profiles::puppet::puppetca::is_puppetca', false)
file { '/etc/puppetlabs/puppet/puppet.conf':
ensure => file,
owner => 'root',

View File

@ -69,7 +69,9 @@ authorization: {
pp_cli_auth: "true"
}
},
terraform
terraform<% if @is_ca -%>,
<%= scope['trusted']['certname'] %>
<%- end -%>
]
sort-order: 500
name: "puppetlabs cert status"