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
Updated by The Foreman Bot almost 9 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/hammer-cli-foreman-discovery/pull/26 added
Updated by The Foreman Bot almost 9 years ago
- Pull request https://github.com/theforeman/foreman_discovery/pull/258 added
Updated by Ori Rabin almost 9 years ago
- Pull request deleted (
https://github.com/theforeman/foreman_discovery/pull/258)
Updated by Ori Rabin almost 9 years ago
- Related to Feature #14208: Allows to list discovered hosts facts from the Api added
Updated by The Foreman Bot almost 9 years ago
- Pull request https://github.com/theforeman/foreman_discovery/pull/258 added
Updated by Ori Rabin almost 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset hammer-discovery|75571a10251a3b4ad4823278437871cd3a00154d.
Actions