Hammer is not showing the discovery option after installing the plugin.
discovery sub-option to be added to the hammer list
Foreman and Proxy versions:
Foreman and Proxy plugin versions:
Distribution and version:
Other relevant data:
When following the documentation it says to create
cli.modules.d/foreman_discovery.yml and add the following
Once I have done that I get the following:
[root@foreman ~]# hammer
Warning: An error occured while loading module hammer_cli_foreman_discovery.
hammer [OPTIONS] SUBCOMMAND [ARG] ...
Do you have the
rubygem-hammer_cli_foreman_discovery package installed?
I thought I did but apparently did not. I followed the docs here foreman_discovery. So my question is why it would not install that be default?
I’ll turn the question around, why would it? There’s
--enable-foreman-cli-discovery that you can pass to the installer which would do that.
Personally I would have added
--enable-foreman-cli-discovery flag when I ran the discovery install with the image. But I use the cli a lot more then some outer customers might. So I can see both sides. Should the docs be updated to reflect the install flag along side the RPM/DEB packages?