Problem:
Happy new year in advance, folks. I need a little bit of support please. Over the last days I have been setting up Foreman and Katello to manage my CentOS based home lab. I have two physical servers, one (discovery.mydomain) acting as an oVirt KVM host who also runs Foreman (foreman.mydomain) in a VM, and the other running a foreman-proxy with ISC DHCP and Bind (endeavour.mydomain. The remaining proxy capabilities are on foreman.mydomain itself, like TFTP, Puppet Master, Puppet CA, etc. I am provisioning VMs on oVirt through Foreman via PXE, DHCP and DNS are set fine. All works, but the new host does not get a proper puppet config. Probably as a new user, I am missing something obvious.
I have created a Subnet, with DHCP and Reverse DNS Proxies pointing to endeavour, all the other proxies are set to discovery, which is correct.
I have created a Domain with DNS proxy set to endeavour.
I have created a Product with Repositories for CentOS 7, an Activation Key, a Content View, a Host Group tying everything together.
I have manually configured the physical hosts (endeavour and discovery) as well as the Foreman VM (foreman) as puppet agents, and katello subscribers. Works…
Now, I am setting all the parameters in create host (most is populated through the Host Group and Subnet) and foreman happily provisions the new VM, PXE boot works, CentOS is installed, Katello is setup, DNS and DHCP are correct, just the puppet config is empty.
Expected outcome:
Having a working puppet agent config on the created host and seeing reports in foreman.
Foreman and Proxy versions:
All version 1.24.0
Distribution and version:
All installed via RPMs as described in the manual on CentOS 7 (x86_64)
Other relevant data:
I am using vanilla Kickstart templates to provision the host.