Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
None
-
Night's Watch
-
5
-
NW - 2021-08-11, NW - 2021-08-25
-
Needs Assessment
-
45047
-
1
-
Bug Fix
-
Fix puppet resource --to_yaml emitting puppet class tags (e.g Puppet::Util::Execution::ProcessOutput) by ensuring that PScalarDataType only checks the instance of String, and not other subclasses
-
Needs Assessment
Description
This change caused a regression. The option --to_yaml no longer generates syntactically valid YAML.
Before pull request #7718:
mysql_database:
|
PERCONA_SCHEMA:
|
ensure : 'present' |
charset: 'utf8' |
collate: 'utf8_general_ci' |
After pull request #7718:
mysql_database:
|
PERCONA_SCHEMA:
|
ensure: present
|
charset: !ruby/string:Puppet::Util::Execution::ProcessOutput utf8
|
collate: !ruby/string:Puppet::Util::Execution::ProcessOutput utf8_general_ci
|
Attachments
Issue Links
- relates to
-
PUP-9154 Can't load catalog that was previously saved as yaml
-
- Accepted
-
-
PUP-7808 puppet resource <...> --to_yaml mishandles structured resource values
-
- Resolved
-
-
PUP-10820 Binary, Sensitive, etc deferred results can corrupt the transaction store
-
- Resolved
-
-
PUP-11229 Update puppet `instance?` methods to use `instance_of?` instead of `is_a?`
-
- Accepted
-
(4 mentioned in)