foreman_remote_execution 10.0.1 → 10.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ada1b5df2ddfd23e01fa2264827b867625a7a7b113de21afe9471105ee8f7246
|
|
4
|
+
data.tar.gz: 237094d2794dbd7ae3d66e684542aa8cf9392975c0cf5b6bc680571c5b32db01
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 78be6438480c970b6e12ecd3431eb64d777807965642a9c7f4b5c8fb0546a970797dd0dae49874621b777f3e27153431a011bf337397200f4417bbfa57f802c9
|
|
7
|
+
data.tar.gz: '073930608ff75b88ca85b445f87aba1ea02203b37699dce173c17477882364fdfe6c4f0409e915ff3ea98bc0626ba0959226d5ecb33995358115936df5448f27'
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<%= field(f, :description) { @remote_execution_feature.description } %>
|
|
10
10
|
</div>
|
|
11
11
|
<div class="row">
|
|
12
|
-
<%= field(f, :provided_inputs) { @remote_execution_feature.provided_inputs } %>
|
|
12
|
+
<%= field(f, :provided_inputs) { @remote_execution_feature.provided_inputs || '' } %>
|
|
13
13
|
</div>
|
|
14
14
|
<div class="row">
|
|
15
15
|
<% job_templates = JobTemplate.authorized(:view_job_templates) %>
|
|
@@ -11,6 +11,12 @@ template_inputs:
|
|
|
11
11
|
input_type: user
|
|
12
12
|
required: false
|
|
13
13
|
advanced: true
|
|
14
|
+
- name: refresh_subscription
|
|
15
|
+
description: Refresh subscription-manager state. Default is "false".
|
|
16
|
+
input_type: user
|
|
17
|
+
required: false
|
|
18
|
+
advanced: true
|
|
19
|
+
options: "false\r\ntrue"
|
|
14
20
|
- name: action
|
|
15
21
|
description: 'The package action: install, update, or remove'
|
|
16
22
|
input_type: user
|
|
@@ -90,6 +96,10 @@ handle_zypp_res_codes () {
|
|
|
90
96
|
[ $RETVAL -eq 0 ] || exit_with_message "Pre script failed" $RETVAL
|
|
91
97
|
<% end -%>
|
|
92
98
|
|
|
99
|
+
<% if input("refresh_subscription") == "true" -%>
|
|
100
|
+
[ -x "$(command -v subscription-manager)" ] && subscription-manager refresh
|
|
101
|
+
<% end -%>
|
|
102
|
+
|
|
93
103
|
# Action
|
|
94
104
|
<% if package_manager == 'yum' -%>
|
|
95
105
|
yum -y <%= input("options") %> <%= action %> <%= input("package") %>
|
|
@@ -105,7 +115,6 @@ handle_zypp_res_codes () {
|
|
|
105
115
|
end
|
|
106
116
|
end
|
|
107
117
|
-%>
|
|
108
|
-
[ -x "$(command -v subscription-manager)" ] && subscription-manager refresh
|
|
109
118
|
export DEBIAN_FRONTEND=noninteractive
|
|
110
119
|
apt-get -y update
|
|
111
120
|
apt-get -o APT::Get::Upgrade-Allow-New="true" -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -y <%= input("options") %> <%= action %> <%= input("package") %>
|
|
@@ -48,8 +48,11 @@ export const useAutoFill = ({
|
|
|
48
48
|
})
|
|
49
49
|
);
|
|
50
50
|
}
|
|
51
|
-
if (search && !hostIds?.length) {
|
|
52
|
-
|
|
51
|
+
if ((search || search === '') && !hostIds?.length) {
|
|
52
|
+
// replace an empty string search with a dummy search query to match all hosts
|
|
53
|
+
// but only if search query was entered (based on presence of :search parameter)
|
|
54
|
+
const hostSearch = search === '' ? "name != ''" : search;
|
|
55
|
+
setHostsSearchQuery(hostSearch);
|
|
53
56
|
}
|
|
54
57
|
if (templateID) {
|
|
55
58
|
setJobTemplateID(+templateID);
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: foreman_remote_execution
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 10.0.
|
|
4
|
+
version: 10.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Foreman Remote Execution team
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-06-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: deface
|