Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
Description
Puppet Version: main branch
Puppet Server Version:
OS Name/Version: All
By default puppet facts show output is rendered as json. The json output is not pretty printed.
Desired Behavior:
`"os": {
"name": "Darwin",
"hardware": "x86_64",
"architecture": "x86_64",
"family": "Darwin",
"release": {
"full": "18.7.0",
"major": "18",
"minor": "7"
},
"macosx": {
"build": "18G95",
"product": "Mac OS X",
"version": {
"full": "10.14.6",
"major": "10.14",
"minor": "6"
}
}}`
Actual Behavior:
The output for os query :
`{"os":{"architecture":"x86_64","family":"Darwin","hardware":"x86_64","macosx":{"build":"18G95","product":"Mac OS X","version":{"full":"10.14.6","major":"10.14","minor":"6"}},"name":"Darwin","release":{"full":"18.7.0","major":"18","minor":"7"}}}`