Getting rid of Puppet

Problem:
As puppet seems to be deprecated in Foreman 4 and onwards and I am not using it anyway, what would be the correct procedure to remove it from my F/K server, smart proxies and clients?

Expected outcome:

  • uninstall puppet from all servers
  • automatic deployment of virtual Linux servers is still working as expected
  • facts are collected via Ansible

Foreman and Proxy versions:
F 3.2.1
K 4.4.1

Foreman and Proxy plugin versions:

Distribution and version:
CentOS 7.9

Other relevant data:
I am preparing to upgrade to F 3.4 and Katello 4.6 when both are GA. However, right now I can’t even do a patch upgrade as somehow the puppet6 rpm got replaced by puppet and they are incompatible. Trying to avoid chasing this issue I rather have it removed completely.

This is an incorrect assessment. It’s extracted to a plugin so Foreman has a smaller core, but it’s not deprecated. It does give users more choice.

Removal is documented on:

https://docs.theforeman.org/nightly/Managing_Configurations_Puppet/index-katello.html#Disabling_Puppet_Integration_managing-configurations-puppet

Do note that puppet-agent must remain installed for foreman-installer, but the daemon shouldn’t run.

1 Like

Ahh, then I misunderstood that part. Thank you. I will follow the guide you provided.