foreman_remote_execution 12.0.0 → 12.0.1
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: 6385c407f978cf02cd096ef099c9c1304da27c67afcea48e91bd484b869a2635
|
4
|
+
data.tar.gz: 5997c4f5af4cc4624f3955f869e4076856918c0611da644d75a95017a5dd2dac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e24eb75f9d677836b32f4f6c4b6bb4d4b43a0934d63bb3ea80b2e66e6f9787d5792bef99ed5c01d9b1ec23547e0c5cc79660205ce3040612d940a19b64f3e8d2
|
7
|
+
data.tar.gz: 1957e681e82ad9093d95949b47dec5d273b0c14f1aee46465490126dd97eb5d3f85b8335183ca56629d36fff439b7f4ae9624bbe9c236715d5e7f82fab20a6f0
|
@@ -64,7 +64,10 @@ class UiJobWizardController < ApplicationController
|
|
64
64
|
job = JobInvocation.authorized.find(params[:id])
|
65
65
|
composer = JobInvocationComposer.from_job_invocation(job, params).params
|
66
66
|
job_template_inputs = JobTemplate.authorized.find(composer[:template_invocations][0][:template_id]).template_inputs_with_foreign
|
67
|
-
|
67
|
+
job_template_inputs_hash = Hash[job_template_inputs.map { |input| ["inputs[#{input[:name]}]", {:advanced => input[:advanced], :value => (composer[:template_invocations][0][:input_values].find { |value| value[:template_input_id] == input[:id] }).try(:[], :value)}] }]
|
68
|
+
provider_inputs = composer[:template_invocations][0][:provider_input_values]
|
69
|
+
provider_inputs_hash = Hash[provider_inputs.map { |input| ["inputs[#{input[:name]}]", {:advanced => true, :value => input[:value]}] }]
|
70
|
+
inputs = job_template_inputs_hash.merge(provider_inputs_hash)
|
68
71
|
job_organization = Taxonomy.find_by(id: job.task.input[:current_organization_id])
|
69
72
|
job_location = Taxonomy.find_by(id: job.task.input[:current_location_id])
|
70
73
|
render :json => {
|
@@ -271,6 +271,7 @@ class JobInvocationComposer
|
|
271
271
|
job_invocation.pattern_template_invocations.map do |template_invocation|
|
272
272
|
params = template_invocation.attributes.slice('template_id', 'effective_user')
|
273
273
|
params['input_values'] = template_invocation.input_values.map { |v| v.attributes.slice('template_input_id', 'value') }
|
274
|
+
params['provider_input_values'] = template_invocation.provider_input_values.map { |v| v.attributes.slice('name', 'value') }
|
274
275
|
params
|
275
276
|
end
|
276
277
|
end
|
@@ -31,6 +31,9 @@ export CONVERT2RHEL_DISABLE_TELEMETRY=1
|
|
31
31
|
|
32
32
|
/usr/bin/convert2rhel analyze -y
|
33
33
|
|
34
|
+
# Workaround for https://issues.redhat.com/browse/RHELC-1280
|
35
|
+
subscription-manager facts --update
|
36
|
+
|
34
37
|
if grep -q ERROR /var/log/convert2rhel/convert2rhel-pre-conversion.json; then
|
35
38
|
echo "Error: Some error(s) have been found."
|
36
39
|
echo "Exiting ..."
|
data/locale/action_names.rb
CHANGED
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: 12.0.
|
4
|
+
version: 12.0.1
|
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:
|
11
|
+
date: 2024-01-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: deface
|