Kickstart provisioning templates do not install puppet agents

I found the solution

  1. I added the puppetlabs repository to my product called Rocky Linux 9. http://yum.puppetlabs.com/puppet/el/9/x86_64/
  2. I added this new repository to my content view called generico_rocky_9.
  3. I published a new version of this content view in the production environment.
  4. In the Activation Keys called ak_generico_rocky_9, in the repository Sets tab, I changed the Puppetlabs Rocky Linux 9 repository to Override to Enabled in the Select Action button.