Bug #27095
closedInherited class params for foreman_scap_client do not reflect openscap proxy change
Description
Steps to Reproduce:
1. Have a hostgroup with foreman_scap_client puppet class, but no openscap proxy
2. Add a host into the hostgroup from previous step, add openscap proxy directly to the host
3. Do a puppet agent -t to configure foreman_scap_client on host
Actual results:
root@fred-yocham ~]# puppet agent -t
Info: Using configured environment 'production'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Retrieving locales
Info: Loading facts
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Class[Foreman_scap_client]:
expects a value for parameter 'server'
expects a value for parameter 'port' on node fred-yocham
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
Expected results:
Foreman_scap_client should be configured and installed successfully
Cause
Inherited class params for port and server are not modified when openscap proxy changes for host.