Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
PUP 7.3.0
-
None
-
Night's Watch
-
Needs Assessment
-
Bug Fix
-
The command "puppet facts show --value-only <fact>" emitted the value as a JSON string, which included quotes around the value, such as {{"RedHat"}}. It now emits just the value.
-
Needs Assessment
Description
When using --value-only to retrieve the value of a fact, the output is quoted:
[root@void-musicality ~]# puppet facts show os.name --value-only
|
"RedHat"
|
It should return the unquoted value so that the output can easily be consumed by external automation.