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

Fix for enabling strict_variables #593

Merged
merged 1 commit into from
Jan 3, 2017

Conversation

madAndroid
Copy link
Contributor

This missing variable is causing failures in our spec tests, since we've recently enabled strict_variables - https://docs.puppet.com/puppet/latest/lang_variables.html#unassigned-variables-and-strict-mode

The change ensures the variable is explicitly set to undef if the source parameter is not set.
This will have no negative affect on existing implementations.

@madAndroid
Copy link
Contributor Author

@calebhailey - any chance we can get a merge here? It's a really small change to address failures when strict_variables config option is enabled - but I don't think the spec tests in travis currently cover that.

@jaxxstorm jaxxstorm merged commit ca45853 into sensu:master Jan 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants