forked from rodjek/rspec-puppet
-
Notifications
You must be signed in to change notification settings - Fork 18
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
manifest option doesn't fail when the path doesn't exist #119
Labels
Comments
This is handled here: rspec-puppet/lib/rspec-puppet/adapters.rb Lines 83 to 95 in 9b90a96
As you can see, it's passed straight to Puppet which happily ignores any missing manifest. The other part now doesn't make a lot of sense to me, because it's just passing a directory? It'd make sense to me to clean this up. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the Bug
rspec-puppet has an option to set a manifest path: https://github.com/puppetlabs/rspec-puppet/blob/main/lib/rspec-puppet.rb#L39
I can set it to an nonexisting path and then rspec-puppet just continues. I think this is a bug. It's hard to find typos when rspec-puppet doesn't output a warning or error.
Expected Behavior
rspec-puppet should throw an error when a nonexisting path is set.
Steps to Reproduce
Steps to reproduce the behavior:
Environment
Additional Context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: