-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
Topscope variables may be facts, but may also be top scope variables #13
Comments
I'm wondering if we should disable fact manipulation in this plugin. We've https://github.com/mmckinst/puppet-lint-legacy_facts-check which should already fix it and puppetlabs/puppet-lint#41 mentioneds that both plugins conflict. CC: @ekohl @alexjfisher |
@SimonHoenscheid Is this filed in the right place? I don't think this plugin is the one responsible for changing variables into 'facts'. We have got some conflicting behaviour between plugins though. Maybe this can be fixed by changing the order that plugins are run? I assume it's alphabetical in some way (but is that filename, or check name)??? |
@alexjfisher I talked to @bastelfreak before opening this issue, because I was not sure, but the behavior of the lint check is dangerous. |
@SimonHoenscheid Maybe we're talking cross purposes. Could you explain exactly what you mean by I'm wondering if you're actually encountering mmckinst/puppet-lint-top_scope_facts-check#10 |
@alexjfisher If I memorize it correct yes. I am not sure, but I can try to replicate. |
running the check with --fix on a manifest with lots of top scope variables shows the puppet lint check changes every variable into a fact.
solution: provide a list of facts
The text was updated successfully, but these errors were encountered: