Bug #23242
closed
foreman-installer does not install hammer openscap plugin
Added by Ales Dujicek over 6 years ago.
Updated over 6 years ago.
Description
foreman-installer should install hammer cli openscap plugin if you enable opencap
# foreman-installer --scenario katello --enable-foreman-plugin-openscap --enable-foreman-proxy-plugin-openscap --foreman-admin-password changeme -s
Installing Done [100%]
Success!
* Katello is running at https://localhost.localdomain
Initial credentials are admin / changeme
* To install an additional Foreman proxy on separate machine continue by running:
foreman-proxy-certs-generate --foreman-proxy-fqdn "$FOREMAN_PROXY" --certs-tar "/root/$FOREMAN_PROXY-certs.tar"
The full log is at /var/log/foreman-installer/katello.log
# hammer scap-content
Error: No such sub-command 'scap-content'.
See: 'hammer --help'.
# rpm -q tfm-rubygem-hammer_cli_foreman_openscap
package tfm-rubygem-hammer_cli_foreman_openscap is not installed
- Related to Feature #16802: Hammer CLI scap plugin install support via foreman-installer added
I think that should only happen if you also install hammer which is not always the case. CC Ewoud, I think you had some PoC for the $subject, is this a duplicate?
tfm-rubygem-hammer_cli is installed as a dependency of katello-common, so it is always installed, isn't it?
Aha! katello scenario doesn't know it:
# foreman-installer --scenario katello --enable-foreman-cli-openscap
ERROR: Unrecognised option '--enable-foreman-cli-openscap'
See: 'foreman-installer --help'
Thank you
- Project changed from Installer to Katello
- Category set to Installer
- Assignee set to Chris Roberts
- Translation missing: en.field_release set to 349
- Difficulty set to easy
chris, mind taking a look at this?
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello-installer/pull/612 added
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Also available in: Atom
PDF