Bug #37141
openSmartProxy Plugin cannot be disabled
Description
Apparently there is a display error on the proxy details page under: Infrastructure-->Smart Proxies--> Proxy-Name -->Overview
After executing the command " foreman-installer --no-enable-foreman-proxy-plugin-ansible " to disable Ansible on the proxy, Ansible is still displayed as an active feature on the GUI page:
However, the changes are made in the " /etc/foreman-installer/scenarios.d/foreman-proxy-content-answers.yaml " file:
foreman_proxy::plugin::ansible: false
The value was true before executing the above command.
Files
Updated by Markus Bucher over 1 year ago
- Found in Releases 3.9.1 added
- Found in Releases deleted (
3.5.3)
Updated by Markus Bucher over 1 year ago
Looks to me like the SmartProxy Ansible plugin cannot be disabled using `foreman-installer --no-enable-foreman-proxy-plugin-ansible`.
The --no-enable-...
parameter will set foreman_proxy::plugin::ansible: false
in the answers.yml. This means puppet will turn back to the default parameters, setting $enabled
to true.
It can be disabled by setting the following in the answers.yml:
foreman_proxy::plugin::ansible:
enabled: false
This might be the same for other Smart Proxy plugins.
Updated by Jeremy Lenz over 1 year ago
- Project changed from Foreman to Installer
Updated by Markus Bucher over 1 year ago
- Subject changed from Display error on the proxy details page to SmartProxy Plugin cannot be disabled
Updated by Ewoud Kohl van Wijngaarden 12 months ago
Markus Bucher wrote in #note-2:
Looks to me like the SmartProxy Ansible plugin cannot be disabled using `foreman-installer --no-enable-foreman-proxy-plugin-ansible`.
The
--no-enable-...
parameter will setforeman_proxy::plugin::ansible: false
in the answers.yml. This means puppet will turn back to the default parameters, setting$enabled
to true.
Almost correct. The --no-enable part stops managing the Ansible plugin, leaving it unmanaged. That can be that it is installed.
I'll admit this is confusing.
It can be disabled by setting the following in the answers.yml:
[...]
This might be the same for other Smart Proxy plugins.
Please never recommend people to edit answers.yml manually. While it can be done, we have an installer:
foreman-installer --foreman-proxy-plugin-ansible-enabled false