Actions
Bug #13965
closedOutput JSON|YAML broken when listing facts
Difficulty:
Triaged:
Description
Using --output json fails to return all of the facts about a discovered host.
$ hammer --output json discovery facts --id 116 { "Fact": "lib", "Value": "/usr/share/fdi/facts:/opt/extension/facts" }
When there is clearly more facts available...
$ hammer discovery facts --id 116 ------------------------|--------------------------------------------------------------------------------- FACT | VALUE ------------------------|--------------------------------------------------------------------------------- lib | /usr/share/fdi/facts:/opt/extension/facts os | {"name"=>"CentOS", "family"=>"RedHat", "release"=>{"major"=>"7", "minor"=>"1"... facterversion | 2.4.1 domain | deploy.local ps | ps -ef hardwaremodel | x86_64
Also failing is --output yaml.
Coming from: https://github.com/theforeman/hammer-cli-foreman-discovery/issues/25
Actions