-
Notifications
You must be signed in to change notification settings - Fork 97
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
Refs #16058 - extract common code for remote execution and ansible #198
Conversation
iNecas
commented
Sep 2, 2016
•
edited
Loading
edited
- add tests - cheating a bit to track it as short term issue http://projects.theforeman.org/issues/16465
- update remote execution
case proxy | ||
when :not_defined | ||
if klass.is_a?(String) | ||
raise _(_'No proxy defined for execution') |
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.
One _
should be enough
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.
Fixed
Gemspec for |
@adamruzicka added the misisng spec |
end | ||
|
||
def run | ||
SmartProxyDynflowCore::Callback::Request.send_to_foreman_tasks(input[:callback], input[:data]) |
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.
Just wondering if this is the right place for this to be in? I know this will probably be only used from within SmartProxyDynflowCore
, but ForemanTasks{,Core}
doesn't have any kind of dependency on SPDC.
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.
Updated, we still reference it in SharableAction, but there is not other easy way how to do that. Anyway, no reason for this class to be here
I inlined one last comment, but I don't feel strongly about it. Either way let's wait for Mr. Jenkins' approval and get this merged tl; dr: APJ |
No more comments from me |
695d7fd
to
c5a5786
Compare
I squashed the commits and waiting for jenkins to merge and release. |
Jenskins is green, I'm going to release new gems so that foreman_ansible and forman_remote_execution can proceed |