Installing puppet agent during provisioning

Hi,
Could someone please point me to how to install puppet agent while
provisioning host via foreman?
Do I need to add lines to default kickstart provisioning templates?

I see following lines in "katello kickstart default", the provisioning
template I am using, but I could not find where the "puppet yes" setting
was configured.

<% if puppet_enabled %># and add the puppet packageyum -t -y -e 0 install
puppet

Thank you

> I see following lines in "katello kickstart default", the provisioning
> template I am using, but I could not find where the "puppet yes" setting
> was configured.

It's enabled if you set Puppet Master for the host. I you leave it
blank, then all the bits for puppet installation and configuration are
skipped automatically.

··· -- Later, Lukas #lzap Zapletal

Thank you.
I have deleted everything, and started from scratch with a new
katello/foreman server.
As you indicated, I did not need to make any changes in default
provisioning templates just to get puppet installed.
I made sure "puppet ca" and "puppet master" fields were populated in the
host definition.
Added ntp class to host definition.
It worked and installed the puppet agent.

I also recommend Justin Sherrill' youtube presentation to setup/understand
puppet workflow in katello/foreman setup:

··· On Monday, March 21, 2016 at 4:18:54 AM UTC-4, Lukas Zapletal wrote: > > > I see following lines in "katello kickstart default", the provisioning > > template I am using, but I could not find where the "puppet yes" setting > > was configured. > > It's enabled if you set Puppet Master for the host. I you leave it > blank, then all the bits for puppet installation and configuration are > skipped automatically. > > -- > Later, > Lukas #lzap Zapletal >