Bug #34181
closedAdd 'service restart' step in purge-puppet command
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=2033336
Description of problem:
After disabling the puppet plugin via `foreman-maintain plugin purge-puppet`, all /foreman_puppet/api enpoints remain active as well as related menu items in the UI (leading to the 'Oops' page). We need to restart the system to get into the desired state.
Version-Release number of selected component (if applicable):
7.0.0 snap 2
How reproducible:
always
Steps to Reproduce:
1. Have a SAT with enabled puppet plugin
2. Run `foreman-maintain plugin purge-puppet`
(with this patch https://github.com/theforeman/foreman_puppet/pull/240 it succeeds)
3. Check the UI > Configure or the api and apidoc
Actual results:
Puppet related items are still present.
Expected results:
They should be missing.
Additional info:
System restart removes the items from API and UI. Please add a step to restart services in the `purge-puppet` command.