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

Only set strict_variables setting when required #168

Merged
merged 1 commit into from
Aug 26, 2016

Conversation

domcleal
Copy link
Contributor

Older Puppet versions (< 3.5) fail when trying to disable the
strict_variables setting that doesn't exist, preventing any tests from
running.

ArgumentError:
  Attempt to assign a value to unknown configuration parameter :strict_variables
# puppet-3.4.3/lib/puppet/settings.rb:786:in `set_value'
# puppet-3.4.3/lib/puppet/settings.rb:109:in `[]='
# puppetlabs_spec_helper-1.2.1/lib/puppetlabs_spec_helper/module_spec_helper.rb:35:in `block (2 levels) in <top (required)>'

Older Puppet versions (< 3.5) fail when trying to disable the
strict_variables setting that doesn't exist, preventing any tests from
running.

    ArgumentError:
      Attempt to assign a value to unknown configuration parameter :strict_variables
    # puppet-3.4.3/lib/puppet/settings.rb:786:in `set_value'
    # puppet-3.4.3/lib/puppet/settings.rb:109:in `[]='
    # puppetlabs_spec_helper-1.2.1/lib/puppetlabs_spec_helper/module_spec_helper.rb:35:in `block (2 levels) in <top (required)>'
@DavidS DavidS merged commit 50845f8 into puppetlabs:master Aug 26, 2016
@DavidS
Copy link
Contributor

DavidS commented Aug 26, 2016

... and released!

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

Successfully merging this pull request may close these issues.

3 participants