-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
resource_reference_without_whitespace error on resource collection #9
Comments
I can't reproduce this: $ cat test.pp Sshkeys::Set_authorized_key <<| tag == $::facts[fqdn] |>> $ puppet-lint test.pp $ and these tests all pass: domcleal@8f6100f. Are you on version 1.0.8? |
My Gemfile.lock file says I am actually on 1.0.9 which I though was weird. |
I am also using puppet 4.4.2 if that changes anything. |
Does the example I gave also pass for you? If so, please adjust or re-check the original. |
Yes it does pass in my local environment. |
Oh and thanks for the quick response. :) |
Hi Pete, this was an issue with an older version. Best,
|
@rendhalver is this issue still open or can we close this? |
No feedback. closing. |
Sorry for late reply. |
If you are stuck with puppet-lint 1.1.0 you can open issues at the plugins which have not yet updated to the newest version of puppet-lint. |
Quite a few it seems.
|
puppet-lint (1.1.0) puppet-lint-empty_string-check (0.2.1) puppet-lint-file_ensure-check (0.3.1) puppet-lint-leading_zero-check (0.1.0) puppet-lint-resource_reference_syntax (1.0.9) puppet-lint-roles_and_profiles-check (0.1.0) puppet-lint-spaceship_operator_without_tag-check (0.1.0) puppet-lint-strict_indent-check (2.0.1) puppet-lint-trailing_comma-check (0.3.2) puppet-lint-trailing_newline-check (1.0.0) puppet-lint-undef_in_function-check (0.1.0) puppet-lint-unquoted_string-check (0.2.5) puppet-lint-variable_contains_upcase (1.0.0) |
Thanks. |
Thank you! It will be nice to finally upgrade to puppet-lint 2! <3 |
For some reason I am getting an error from your module where I don't think there should be one.
Error message:
resource_reference_without_whitespace:ERROR:whitespace between reference type and title
Resource.
Sshkeys::Set_authorized_key <<| tag == $::facts[fqdn] |>>
I am rather sure that is a valid resource collector.
If I use a non structured fact it fails.
If I take out all the spaces on that line it passes.
Whereas this resource collector does not produce the error.
Sshkey <<| tag == $primary_server |>>
Is something going wrong because it is a sub resource?
The text was updated successfully, but these errors were encountered: