HomePhorge

Making Fact json handling more resilient
7e5ca648112aUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Making Fact json handling more resilient

We were failing if any values were nil, and values
were often nil, at least in testing.

We now only include non-nil values, and we handle nil
values just fine.

Signed-off-by: Luke Kanies <luke@puppetlabs.com>
Reviewed-by: Nick Lewis <nick@puppetlabs.com>

Details

Provenance
Luke Kanies <luke@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUf4acb025f3a1: Adding json support to Puppet::Node
Branches
Unknown
Tags
Unknown

Event Timeline

Luke Kanies <luke@puppetlabs.com> committed rPU7e5ca648112a: Making Fact json handling more resilient (authored by Luke Kanies <luke@puppetlabs.com>).Jul 15 2011, 8:16 PM