<@U0852N6ERQX> I use Foreman for provisioning to d...
# puppet
k
@ikonia I use Foreman for provisioning to do what you're theorizing. When provisioning, the Foreman Host Parameters can be used in provisioning templates to populate
csr_attributes.yaml
. We mostly provision Ubuntu, so the autoinstall cloud-init user data template writes
csr_attributes.yaml
with the host parameters
pp_role
,
pp_region
, etc., during the Ubuntu install, so that the CSR has those values when openvox agent runs for the first time on the first boot. https://docs.cloud-init.io/en/latest/reference/yaml_examples/write_files.html