Project

General

Profile

Actions

Bug #27095

closed

Inherited class params for foreman_scap_client do not reflect openscap proxy change

Added by Ondřej Pražák almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

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.

Actions #1

Updated by Ondřej Pražák almost 5 years ago

  • Subject changed from Inherited class params for foreman_scap_client do not reflect openscap proxy change to Inherited class params for foreman_scap_client do not reflect openscap proxy change
  • Priority changed from High to Normal
Actions #2

Updated by The Foreman Bot almost 5 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Ondřej Pražák
  • Pull request https://github.com/theforeman/foreman_openscap/pull/397 added
Actions #3

Updated by Marek Hulán almost 5 years ago

  • Fixed in Releases foreman_openscap 1.0.2 added
Actions #4

Updated by Anonymous almost 5 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF