Skip to content

report when we have skipped "bad definition in :hierarchy"#360

Merged
branan merged 1 commit intopuppetlabs:masterfrom
DrOwl:master
Aug 23, 2016
Merged

report when we have skipped "bad definition in :hierarchy"#360
branan merged 1 commit intopuppetlabs:masterfrom
DrOwl:master

Conversation

@DrOwl
Copy link

@DrOwl DrOwl commented Aug 18, 2016

As per discussion in Puppetlabs git ticket HI-530

report when we have skipped "bad definition in :hierarchy"

@MikaelSmith
Copy link
Contributor

This seems pretty reasonable. The CI failure is looking for the commit message to match our style guidelines in https://github.com/puppetlabs/hiera/blob/master/CONTRIBUTING.md#making-changes.

@DrOwl
Copy link
Author

DrOwl commented Aug 18, 2016

Ok I updated the commit message but seem to have got a merge in there too!

Hiera tests its hierarchy sources list to make sure they do not contain a known pattern that will break a file path. If a known bad patern is found the source is silently dropped.
Adding this patch will cause Hiera to generate a warning as well as dropping the source.
This new functionality will help users debug bad Hiera configuration.
@DrOwl
Copy link
Author

DrOwl commented Aug 18, 2016

18th time better ;)

@branan branan merged commit 6806e32 into puppetlabs:master Aug 23, 2016
@branan
Copy link
Contributor

branan commented Aug 23, 2016

Thanks for your contribution, @DrOwl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants