Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add hiera_data to the cache key, for hiera-puppet-helper #488

Merged
merged 1 commit into from
Apr 3, 2017
Merged

Conversation

rodjek
Copy link
Owner

@rodjek rodjek commented Mar 30, 2017

As mentioned in #215, we make hiera_config a part of the catalogue cache key, but not hiera_data (which is used by the popular rspec-hiera-puppet/hiera-puppet-helper gem) which can cause problems as users might get a cached catalogue even though they've supplied different hiera data.

This PR adds hiera_data (if provided with let) to the cache key to prevent this from happening.

Closes #215

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling b1f5d96 on issue-215 into ** on master**.

@DavidS DavidS merged commit e5f72b8 into master Apr 3, 2017
@DavidS DavidS deleted the issue-215 branch April 3, 2017 13:55
@rodjek rodjek added the bugfix label Jul 25, 2017
@rodjek rodjek added this to the 2.6.0 milestone Jul 25, 2017
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.

3 participants