We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0c75998 + 3b4503c commit 7631a54Copy full SHA for 7631a54
lib/puppet/indirector/catalog/json.rb
@@ -18,7 +18,7 @@ def from_json(text)
18
def to_json(object)
19
object.render(json_format)
20
rescue Puppet::Network::FormatHandler::FormatError => err
21
- if Puppet[allow_pson_serialization]
+ if Puppet[:allow_pson_serialization]
22
Puppet.info(_("Unable to serialize catalog to json, retrying with pson. PSON is deprecated and will be removed in a future release"))
23
Puppet.log_exception(err, err.message, level: :debug)
24
object.render('pson').force_encoding(Encoding::BINARY)
0 commit comments