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

[bug] puppet lint error when there are no manifest files #83

Open
GeoffWilliams opened this issue Jan 21, 2020 · 0 comments
Open

[bug] puppet lint error when there are no manifest files #83

GeoffWilliams opened this issue Jan 21, 2020 · 0 comments

Comments

@GeoffWilliams
Copy link
Member

When there are no puppet manifests we get an error like this:

geoff@computer:~/github/puppet-windows_firewall$ make fast
cd .pdqtest && bundle exec pdqtest fast
Entered PDQTest from /home/geoff/github/puppet-windows_firewall/.pdqtest
---> syntax:manifests
---> syntax:templates
---> syntax:hiera:yaml
puppet-lint: no file specified or specified file does not exist
puppet-lint: try 'puppet-lint --help' for more information
fastcheck (syntax+lint): 💣
Error encountered running #<Proc:0x000055c7da5be990@/home/geoff/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/pdqtest-2.0.5/exe/pdqtest:144 (lambda)>
Overall: 💩

Cause

no puppet manifests to scan so they cant be scanned

Workaround

geoff@computer:~/github/puppet-windows_firewall$ mkdir manifests
geoff@computer:~/github/puppet-windows_firewall$ touch manifests/init.pp
geoff@computer:~/github/puppet-windows_firewall$ make fast
cd .pdqtest && bundle exec pdqtest fast
Entered PDQTest from /home/geoff/github/puppet-windows_firewall/.pdqtest
---> syntax:manifests
---> syntax:templates
---> syntax:hiera:yaml
fastcheck (syntax+lint): 😬
I'm downloading The Internet, please hold... 🐌
examples to run[]
No acceptance tests found, annotate examples with @PDQTest to make some
overall acceptance test status=true
Overall: 😎
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant