puppet-prod/modules/incus/manifests/client.pp
Ben Vincent 90a9195cb0 feat: add incus auto-client certificate trust
- add fact to export vault public cert from agents
- add fact to export list of trusted incus client certs
- add method for incus clients to export their client cert to be trusted
2025-10-17 21:37:47 +11:00

15 lines
435 B
Puppet

# incus::client
#
# This class configures a host as an incus client and exports its certificate
# for automatic trust management on incus servers.
#
class incus::client {
# Export this client's certificate for collection by incus servers
@@incus::client_cert { $facts['networking']['fqdn']:
hostname => $facts['networking']['fqdn'],
certificate => $facts['vault_cert_content'],
tag => 'incus_client',
}
}