Skip to content

should not require a site.pp #15

@bodepd

Description

@bodepd

When I try to run my rspec tests on my laptop, I get the following error:

Puppet::Error:
Could not parse for environment production: No file(s) found for import of '/Users/danbode/.puppet/manifests/site.pp' at line 3 on node danbodesmac.hsd1.or.comcast.net.
# /Users/danbode/dev/puppet/lib/puppet/parser/compiler.rb:27:in compile' # /Users/danbode/dev/puppet/lib/puppet/indirector/catalog/compiler.rb:77:incompile'
# /Users/danbode/dev/puppet/lib/puppet/util.rb:185:in benchmark' # /Users/danbode/dev/puppet/lib/puppet/indirector/catalog/compiler.rb:75:incompile'
# /Users/danbode/dev/puppet/lib/puppet/indirector/catalog/compiler.rb:35:in find' # /Users/danbode/dev/puppet/lib/puppet/indirector/indirection.rb:189:infind'
# /Users/danbode/dev/rspec-puppet/lib/rspec-puppet/support.rb:12:in build_catalog' # /Users/danbode/dev/rspec-puppet/lib/rspec-puppet/example/class_example_group.rb:51:incatalogue'
# /Users/danbode/dev/rspec-puppet/lib/rspec-puppet/example/class_example_group.rb:7:in `subject'
# ./ntp_spec.rb:8\

I can easily resolve this error by just creating an empty file

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions