Skip to content

manifest option doesn't fail when the path doesn't exist #119

@bastelfreak

Description

@bastelfreak

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:

  1. Go to '...'
  2. Click on '....'

Environment

  • Version [e.g. 1.27.0]
  • Platform [e.g. Ubuntu 18.04]

Additional Context

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions