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 config option for Puppet's strict setting #47

Open
ekohl opened this issue Mar 16, 2023 · 1 comment
Open

Add config option for Puppet's strict setting #47

ekohl opened this issue Mar 16, 2023 · 1 comment

Comments

@ekohl
Copy link

ekohl commented Mar 16, 2023

Use Case

Puppet has a strict setting, and PDK sets it directly on Puppet instead of configuring rspec-puppet (https://github.com/voxpupuli/pdk-templates/blob/bb554cbb831d8c651cd54056ac09950228603e5e/moduleroot/spec/spec_helper.rb.erb#L52-L56). It would be best if rspec-puppet had an option to set the setting instead.

Describe the Solution You Would Like

An option like there are many others, such as strict_variables

Describe Alternatives You've Considered

None.

Additional Context

https://www.puppet.com/docs/puppet/7/configuration.html#strict

@gerases
Copy link

gerases commented Jul 15, 2024

I'm being affected by this as well. The puppet config on disk doesn't seem to have an affect on rspec-puppet.

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

No branches or pull requests

3 participants