Foreman provision template @host doesn't have correct puppetserver or puppetca


<%= @host.puppetmaster %> does not output the value from the host’s puppetmaster profile, it outputs what appears to be the value from some other location @host.puppetca also does not output anything

Expected outcome:

The puppetmaster defined on the host record should be the output of @host.puppetmaster and @host.puppetca should be the value of it’s CA

Foreman and Proxy versions:

1.24.3 and 1.24.3

Foreman and Proxy plugin versions:


Distribution and version:


Other relevant data:


Hello and welcome!

Check your taxonomy, this is how we call organization and location. You need to have both host and puppet master in the same organization. Otherwise you will see nothing.