-
Notifications
You must be signed in to change notification settings - Fork 106
Fix REX provider type #4434
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
base: master
Are you sure you want to change the base?
Fix REX provider type #4434
Conversation
Lennonka
left a comment
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
I guess this could be cherry picked farther, but I'm not sure how far. Can you check with someone, please?
| .. Assign the `Run Puppet Once {endash} SSH Default` job template. | ||
| . To run Puppet on hosts, execute a remote job and select category `Puppet` and template `Run Puppet Once - SSH Default`. | ||
| .. Assign the `Puppet Run Once {endash} Script Default` job template. | ||
| . To run Puppet on hosts, execute a remote job and select category `Puppet` and template `Puppet Run Once - Script Default`. |
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.
Can you also look into this while you're here? #4189 (comment) It's part of #4192
* Package Action: foreman_remote_execution -> app/views/templates/script/package_action.erb * Power Action: foreman_remote_execution -> app/views/templates/script/power_action.erb * Puppet Run Once: foreman_puppet -> app/views/templates/script/puppet_run_once.erb * Service Action: foreman_remote_execution -> app/views/templates/script/service_action.erb Salt: No change in "guides/common/modules/proc_running-salt.adoc" but looked into this issue via PR 219 in foreman_salt. (Untested but verified that the templates are currently called "Salt Run function - SSH default". Clicking "Run Puppet once" in WebUI really causes REX to start a job that uses the "Puppet Run Once - Script Default" template. Tested on Foreman 3.16 Fixes theforeman#4415 (Rename REX provider)
9ef2617 to
268a56b
Compare
|
I checked on Foreman 3.16:
The wording in the WebUI is weird! Can you please check if my second commit makes sense to you? @aneta-petrova |
"guides/common/modules/con_host-substatus-overview.adoc" remains unchanged because the wording seems to come from the WebUI. This makes vale happy.


What changes are you introducing?
Salt: No change in "guides/common/modules/proc_running-salt.adoc" but looked into this issue via PR 219 in foreman_salt. (Untested but verified that the templates are currently called "Salt Run function - SSH default".
Clicking "Run Puppet once" in WebUI really causes REX to start a job that uses the "Puppet Run Once - Script Default" template.
Why are you introducing these changes? (Explanation, links to references, issues, etc.)
Fixes #4415 (Rename REX provider)
Anything else to add? (Considerations, potential downsides, alternative solutions you have explored, etc.)
Tested on Foreman 3.16 but tech ACK would be appreciated.
Contributor checklists
Please cherry-pick my commits into: