-
Notifications
You must be signed in to change notification settings - Fork 65
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 #33137 - Align with puppet moving to a plugin #494
Conversation
Note that we do plan on making it possible, but it'll be experimental. |
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.
Looks good to me 👍
Test are quite red, though passing for me locally. I'll need to take a closer look. |
39642fe
to
45ea62a
Compare
@@ -21,13 +21,17 @@ def inline_help | |||
} | |||
end | |||
|
|||
def collection_method | |||
:puppetclasses |
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.
This will not work, HG, nor Host exposes puppetclasses and all_puppetclasses.
It has moved to (host || hg).puppet
(what is a Facet for puppet)
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.
couldn't we let the config to extract the collection? it would give us more flexibility and we could call the object.puppet.collection 🤔
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.
We could do that as an emergency solution, it should work with theforeman/foreman_puppet#180
45ea62a
to
f35798e
Compare
This will work once the 1.0 puppet is released |
Tests are failing, any plans to merge this? |
Tests on Jenkins will not pass due to missing dependencies, but GH actions are green, so I think this is ready. |
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.
Looks ready enough to me 👍
Would be fantastic to have it, I am working on some big refactoring of the plugin and green tests would be very welcome :-) |
Thanks everyone! |
Running tests locally, crossing my fingers! No luck...
This fails here:
I think we need a |
Filed a PR to fix this: #500 |
Since the plan is to have foreman_puppet installed for both new and existing users on 3.0, we do not need to switch policy deploy type just yet.