HomePhorge

(maint) Fix spec failure in hiera_spec try 2
62d36c9ebbc7Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(maint) Fix spec failure in hiera_spec try 2

Without this patch applied Puppet behavior tests are failing against
Hiera 1.0.0 because of the addition of a new, backwards-compatible,
default setting named merge_behavior.

This patch addresses the problem by only testing the configuration keys
we expect specific values for. If the resulting configuration has
additional keys then we ignore them.

The related patch in Hiera is 4ac8372, "Add deep-merge feature to
backend lookups"

The related patch in Puppet that fails to pass against earlier versions
of Hiera is f980e17.

Details

Provenance
Jeff McCune <jeff@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU739f81c7e91d: Merge branch 'fix/3.0.x/hiera_default_config_spec' into 3.0.x
Branches
Unknown
Tags
Unknown

Event Timeline

Jeff McCune <jeff@puppetlabs.com> committed rPU62d36c9ebbc7: (maint) Fix spec failure in hiera_spec try 2 (authored by Jeff McCune <jeff@puppetlabs.com>).Jan 3 2013, 1:46 AM