Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
None
-
Night's Watch
-
2
-
NW - 2021-03-31, NW - 2021-04-14
-
Manual Test
-
Bug Fix
-
Fix an issue where Facter 4 reported boolean values as strings for Solaris LDOM facts. The values are now represented as boolean, similar to the Facter 3 behavior.
-
Needs Assessment
Description
Running puppet facts diff on Solaris 11 SPARC gives the following output:
"hypervisors.ldom.role_control": {
|
"new_value": "false",
|
"old_value": false
|
},
|
"hypervisors.ldom.role_io": {
|
"new_value": "false",
|
"old_value": false
|
},
|
"hypervisors.ldom.role_root": {
|
"new_value": "false",
|
"old_value": false
|
},
|
"hypervisors.ldom.role_service": {
|
"new_value": "false",
|
"old_value": false
|
},
|
This may be due to how Facter 3 represents boolean values in general, as ldom facts appear to be strings when placed in the collection: https://github.com/puppetlabs/facter/blob/3.x/lib/src/facts/solaris/ldom_resolver.cc#L55
Attachments
Issue Links
- is cloned by
-
FACT-3007 Facter 4 outputs hypervisors facts differently on Amazon 7
-
- Resolved
-