Bug #30066
openforeman-maintain health check using wrong puppet command to check ssl directory is not empty
Description
[root@foreman ~]# foreman-maintain health check
Running ForemanMaintain::Scenario::FilteredScenario
================================================================================
Check number of fact names in database: [OK]
--------------------------------------------------------------------------------
Check for verifying syntax for ISP DHCP configurations: [SKIPPED]
DHCP feature is not enabled
--------------------------------------------------------------------------------
Check whether all services are running: [OK]
--------------------------------------------------------------------------------
Check whether all services are running using the ping call: [OK]
--------------------------------------------------------------------------------
Check for paused tasks: [OK]
--------------------------------------------------------------------------------
Check to verify no empty CA cert requests exist: [FAIL]
Failed executing puppet master --configprint ssldir, exit status 1:
Error: Unknown Puppet subcommand 'master'
See 'puppet help' for help on available puppet subcommands
--------------------------------------------------------------------------------
Scenario [ForemanMaintain::Scenario::FilteredScenario] failed.
The following steps ended up in failing state:
[puppet-check-no-empty-cert-requests]
Resolve the failed steps and rerun
the command. In case the failures are false positives,
use --whitelist="puppet-check-no-empty-cert-requests"
It should be :
puppet config print ssldir
Files
No data to display