Fix REX provider type#4434
Merged
maximiliankolb merged 3 commits intotheforeman:masterfrom Nov 18, 2025
Merged
Conversation
Lennonka
approved these changes
Oct 28, 2025
Contributor
Lennonka
left a comment
There was a problem hiding this comment.
LGTM
I guess this could be cherry picked farther, but I'm not sure how far. Can you check with someone, please?
10 tasks
* 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
Contributor
Author
|
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.
sbernhard
approved these changes
Nov 18, 2025
Contributor
Author
|
@aneta-petrova Can you please re-check if that works for you? |
aneta-petrova
approved these changes
Nov 18, 2025
maximiliankolb
added a commit
that referenced
this pull request
Nov 18, 2025
* Fix REX provider type ** 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 * Use canceled in favor of cancelled "guides/common/modules/con_host-substatus-overview.adoc" remains unchanged because the wording seems to come from the WebUI. This makes vale happy. Fixes #4415 (Rename REX provider) Fixes #4192 (Rename Puppet Run Once template) (cherry picked from commit dfad7d7)
maximiliankolb
added a commit
that referenced
this pull request
Nov 18, 2025
* Fix REX provider type ** 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 * Use canceled in favor of cancelled "guides/common/modules/con_host-substatus-overview.adoc" remains unchanged because the wording seems to come from the WebUI. This makes vale happy. Fixes #4415 (Rename REX provider) Fixes #4192 (Rename Puppet Run Once template) (cherry picked from commit dfad7d7)
Contributor
Author
Member
Does this help @maximiliankolb?
This is from Satellite 6.17, which is the equivalent of Foreman 3.14. |
maximiliankolb
added a commit
that referenced
this pull request
Nov 19, 2025
* Fix REX provider type ** 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 * Use canceled in favor of cancelled "guides/common/modules/con_host-substatus-overview.adoc" remains unchanged because the wording seems to come from the WebUI. This makes vale happy. Fixes #4415 (Rename REX provider) Fixes #4192 (Rename Puppet Run Once template) (cherry picked from commit dfad7d7) (cherry picked from commit c9b47d7) Resolved a minor merge conflict while cherry-picking from 3.16 to 3.15 in "guides/common/modules/proc_running-puppet-once-using-ssh.adoc".
maximiliankolb
added a commit
that referenced
this pull request
Nov 19, 2025
* Fix REX provider type ** 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 * Use canceled in favor of cancelled "guides/common/modules/con_host-substatus-overview.adoc" remains unchanged because the wording seems to come from the WebUI. This makes vale happy. Fixes #4415 (Rename REX provider) Fixes #4192 (Rename Puppet Run Once template) (cherry picked from commit dfad7d7) (cherry picked from commit c9b47d7) Resolved a minor merge conflict while cherry-picking from 3.16 to 3.15 in "guides/common/modules/proc_running-puppet-once-using-ssh.adoc". (cherry picked from commit 85e6509)
Contributor
Author
jafiala
pushed a commit
to jafiala/foreman-documentation
that referenced
this pull request
Feb 26, 2026
* Fix REX provider type ** 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 * Use canceled in favor of cancelled "guides/common/modules/con_host-substatus-overview.adoc" remains unchanged because the wording seems to come from the WebUI. This makes vale happy. Fixes theforeman#4415 (Rename REX provider) Fixes theforeman#4192 (Rename Puppet Run Once template) (cherry picked from commit dfad7d7)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



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: