-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Support Types in Selectors #4
Comments
Perhaps this is solved by #5 ? A test added would verify this and possibly close it. |
I'm looking at the docs and types should also be allowed in case statements |
I can confirm this is still an issue. It's valid code, but the lint check doesn't properly detect this. #9 adds a reproducer which shows that it happens with namespaced types. So |
So rodjek/puppet-lint#485 is the root cause for this. tl;dr is that the syntax for a |
Related: #1
Datatypes shoudn't be quoted.
Refer documentation for allowed selectors:
https://puppet.com/docs/puppet/5.3/lang_conditional.html#behavior-3
Example:
Current:
Expected:
No Issue
Versions:
The text was updated successfully, but these errors were encountered: