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
Fixes #35188 - fix puppet plugin detection for permissions issues #573
Conversation
the discovery detection for puppet plugin presence didn't work
Issues: #35188 |
@@ -310,7 +310,7 @@ class Engine < ::Rails::Engine | |||
:edit_discovery_rules, | |||
:destroy_discovery_rules, | |||
] | |||
if defined?(ForemanPuppet::VERSION) | |||
if defined?(ForemanPuppet::Engine) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Engine
should be loaded before the Version
constant
[test foreman_discovery] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🍏 LGTM, let's wait for the result of foreman_discovery
tests
Failing test is not relevant, tried locally and it ends green. |
…eforeman#573) the discovery detection for puppet plugin presence didn't work (cherry picked from commit ea10b98)
the discovery detection for puppet plugin presence didn't work (cherry picked from commit ea10b98)
…eforeman#573) the discovery detection for puppet plugin presence didn't work (cherry picked from commit ea10b98)
the discovery detection for puppet plugin presence didn't work (cherry picked from commit ea10b98)
the discovery detection for puppet plugin presence didn't work