-
Notifications
You must be signed in to change notification settings - Fork 51
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
search manifests outside of manifests directory #104
Comments
Sure! :) @Dan33l If you can provide examples, I'm happy to take a look! |
I will provides details as soon as possible. |
I might be missing something but could you not set an exclude path in the config. |
I used pdk to build details and reproduce here: https://gitlab.adullact.net/fcombernous/dummy The pipeline output https://gitlab.adullact.net/fcombernous/dummy/-/jobs/9675 edit : now it works .. but i don't know why. let me search. edit2 : ah now it fails. since i added a defined type. So perhaps my usage is wrong. |
well, it looks that the defined type |
Hmm is having a define type and a data type with the same name valid? |
I used the
|
@baurmatt It is illegal to have a data type with the same name as a resource type (user defined or in ruby) - this because every resource type is also a data type alias. |
@hlindberg thank you for the answer. I suppose we can close this issue. |
The syntax check searches for all
.pp
files in the modules, which includes.pp
files
in the spec tests of the modules like inspec/type_aliases
. This can lead to errors like:The text was updated successfully, but these errors were encountered: