Actions
Bug #4336
closedHammer facts by --name doesn't work
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Hammer core
Target version:
-
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.
Updated by Marc-Christian Petersen over 10 years ago
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 :)
Updated by Kamjar Gerami about 9 years ago
Works fine for both methods using :
foreman-1.9.2-1.el7.noarch
rubygem-hammer_cli_foreman-0.3.0-1.el7.noarch
Updated by Dominic Cleal about 9 years ago
- Status changed from New to Resolved
Confirmed, thanks Kamjar.
Actions