-
Notifications
You must be signed in to change notification settings - Fork 220
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
Remove chef related code #212
Conversation
d8761c0
to
d0a0a19
Compare
I'm ok with this, @domcleal? |
@ares: do you need a review of the extracted plugin, or is it a verbatim copy? |
I'm fine in principle with the move. |
@witlessbird it's a copy with additional featues, if you're interested you can go over https://github.com/theforeman/smart_proxy_chef and add comments there |
We should put some warning to release notes, users have to install the plugin if they relied on this functionality. The plugin is not yet packed though. |
Indeed, but should also be handled through packaging (obsoletes). |
@ares: I left you a comment in the closed PR at https://github.com/theforeman/smart_proxy_chef. It mostly looks good to me, the only issue is that you are using an 'api' namespace in this module, which I think sounds too generic and can potentially cause conflicts (or modules not being loaded) down the line. I assume this namespace was used by chef module before the whole modularization? |
@witlessbird thanks, the |
@ares could you rebase, assign a redmine ticket and let's get this into 1.7 please |
I'll try to build package for the plugin first since we would drop packaging for this functionality |
8770816
to
3594087
Compare
I didn't make it. @domcleal I know it's past 1.7 branching but this does not add feature (it removes it) so maybe we could still get it into 1.7. |
I tested this PR with smart-proxy and smart_proxy_chef installed. We have same functional level. I would be I favor of merging this PR to avoid unnecessary complexity. |
@ares I'm happy to have this in 1.7, but only on the basis that the packages are sorted out ASAP after merging. (Before RC2 - if longer, then I'll probably revert in 1.7-stable as we need to ship something functioning.) |
@@ -1,3 +0,0 @@ | |||
group :chef do | |||
gem 'chef', ">= 11.6.2" |
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.
mixlib-shellout is also in test.rb because of chef, it should be removed
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.
mixlib-shellout removed
Code was extracted to separate chef plugin. See https://github.com/theforeman/smart_proxy_chef
Code was extracted to separate chef plugin. See
https://github.com/theforeman/smart_proxy_chef