Problem:
I have just ran a foreman-installer on a new AlmaLinux 8 installing Katello 4.4. I have noticed at the end of the installation puppet.service is enabled and running although puppet integration has not been enabled.
Running foreman-installer like this for the very first time on this server:
[root@foreman8 ~]# foreman-installer --scenario katello \
--foreman-initial-organization "ORG" --foreman-initial-location "Default" \
--certs-server-ca-cert /etc/pki/tls/certs/bundle.crt \
--certs-server-cert /etc/pki/tls/certs/foreman8.crt \
--certs-server-key /etc/pki/tls/private/foreman8.key \
--enable-foreman-plugin-remote-execution \
--enable-foreman-proxy-plugin-remote-execution-ssh \
--foreman-plugin-tasks-automatic-cleanup=true \
--foreman-proxy-httpboot true \
--foreman-proxy-tftp true
Expected outcome:
Don’t start puppet.service unless it’s set to be used.
Foreman and Proxy versions:
Foreman 3.2, Katello 4.4
Distribution and version:
AlmaLinux 8.5
Other relevant data:
katello.log shows it enables it:
2022-04-25 09:30:45 [DEBUG ] [configure] /Service[puppet]: Starting to evaluate the resource (1802 of 1824)
2022-04-25 09:30:45 [DEBUG ] [configure] Executing: '/bin/systemctl is-active -- puppet'
2022-04-25 09:30:45 [DEBUG ] [configure] Executing: '/bin/systemctl is-enabled -- puppet'
2022-04-25 09:30:45 [DEBUG ] [configure] Executing: '/bin/systemctl show --property=NeedDaemonReload -- puppet'
2022-04-25 09:30:45 [DEBUG ] [configure] Executing: '/bin/systemctl unmask -- puppet'
2022-04-25 09:30:45 [DEBUG ] [configure] Executing: '/bin/systemctl start -- puppet'
2022-04-25 09:30:45 [DEBUG ] [configure] Executing: '/bin/systemctl is-enabled -- puppet'
2022-04-25 09:30:45 [DEBUG ] [configure] Executing: '/bin/systemctl unmask -- puppet'
2022-04-25 09:30:45 [DEBUG ] [configure] Executing: '/bin/systemctl enable -- puppet'
2022-04-25 09:30:45 [INFO ] [configure] /Stage[main]/Puppet::Agent::Service::Daemon/Service[puppet]/ensure: ensure changed 'stopped' to 'running'
2022-04-25 09:30:45 [DEBUG ] [configure] /Service[puppet]: The container Class[Puppet::Agent::Service::Daemon] will propagate my refresh event
2022-04-25 09:30:45 [DEBUG ] [configure] /Service[puppet]: Unscheduling refresh on Service[puppet]
2022-04-25 09:30:45 [DEBUG ] [configure] /Service[puppet]: Evaluated in 0.59 seconds