Bug #4336
closed
Hammer facts by --name doesn't work
Added by Daniel Lobato Garcia almost 11 years ago.
Updated about 9 years ago.
Description
hammer host facts --id myhost
works well, returns the host facts.
hammer host facts --name myhost
doesn't find any fact or claims that --name is empty.
since hammer CLI of Foreman 1.4 I get this:
hammer host facts --name foobar
Error: At least one of options --id, --name is required
See: 'hammer host facts --help'
when I use --id, I get the same message as above.
when using hammer 0.1.0-1 from Foreman 1.5rc1 I get:
hammer host facts --id 1
No data.
--name does not work there too.
The host has facts of course :)
Works fine for both methods using :
foreman-1.9.2-1.el7.noarch
rubygem-hammer_cli_foreman-0.3.0-1.el7.noarch
- Status changed from New to Resolved
Confirmed, thanks Kamjar.
Also available in: Atom
PDF