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 issue with params.pp with strict_variables enabled #35

Merged
merged 1 commit into from
Jun 2, 2015

Conversation

eoly
Copy link
Contributor

@eoly eoly commented Jun 1, 2015

When strict_variables are enabled Puppet runs fail with Evaluation Error: Unknown variable: '::redis::params::ppa_repo'.

This happens when the osfamily fact is set to anything but Debian because the ppa_repo variable is not defined and is referenced in init.pp parameters.

Defining the variable under the other osfamilys and setting it to undef fixes the issue.

https://docs.puppetlabs.com/references/latest/configuration.html#strictvariables

@arioch arioch merged commit 2a1d8de into voxpupuli:master Jun 2, 2015
@arioch
Copy link
Contributor

arioch commented Jun 2, 2015

Thanks for catching this!

@eoly eoly deleted the params_strictvar branch June 2, 2015 15:42
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.

2 participants