foreman_remote_execution 10.0.1 → 10.0.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c6cbb748f9c9d67aba38a2fa62ad4e82306d665bd9ad0021c2125926207fd95f
|
4
|
+
data.tar.gz: 435f4a1aee85997d3ef430abf68a24da459bd55a09832a130e51c405638dbfd0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b3b8b5d63dfc60911069228a9f0ff136ccfe536331bb53bf348b902ee4e0cbb1fb2e26ca3d209a409a5d78a03530d5e490460a6d024baf7a584ae755bbe88d3
|
7
|
+
data.tar.gz: e54b93592be98be9c6577f662d6a6e3298c36c9e7576b9325f4b1f981f94ff560865e37aaec4a87a8fe06ed933e433e66420326b9c7b5f6e72e13503b8ff4671
|
@@ -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") %>
|
data/package.json
CHANGED
@@ -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.3
|
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-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: deface
|