Bug #6932
closednode-installer: refresh proxy features when proxy settings.yml is updated
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1014984
Description of problem:
If node-installer is re-run with different proxy features enabled each time (like --tftp=false and then --tftp=true), the feature list in Foreman isn't kept in sync as it was fetched when the proxy was first registered.
Version-Release number of selected component (if applicable):
node-installer-0.0.11-1.el6sat.noarch
How reproducible:
Always
Steps to Reproduce:
1. node-install --tftp false --puppet true
2. check smart proxies list in Foreman
3. node-install --tftp true --puppet true
4. check smart proxies list in Foreman
Actual results:
"Puppet", then only "Puppet"
Expected results:
"Puppet", then "Puppet and TFTP"
Additional info:
Workaround: edit the proxy in the Foreman UI and re-save it, the feature list will be retrieved again. In Foreman 1.4, there's a refresh link + API call.