foreman_remote_execution 14.1.2 → 14.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/templates/script/convert2rhel_analyze.erb +14 -1
- data/db/migrate/20241126150849_remove_remote_execution_workers_pool_size.rb +8 -0
- data/lib/foreman_remote_execution/engine.rb +1 -6
- data/lib/foreman_remote_execution/version.rb +1 -1
- data/webpack/react_app/components/TargetingHosts/TargetingHostsPage.js +1 -1
- data/webpack/react_app/components/TargetingHosts/__tests__/__snapshots__/TargetingHostsPage.test.js.snap +0 -1
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2a300266f1fb00313f0bc59f37573802bbcf230fca5e9867bcee11bdc8279a93
|
4
|
+
data.tar.gz: bc52a77d346cd77c834fd134a872fab19c8b12fc98c30f27deba4a7a64a776b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba0a20114b7d30cf6cc7fe236b34794ab98163cc9bbd6d78a02e3573c996b2fb0eaccdf96af081cfc96afb0c8a95af8ad9ec906d2b8e103806ebe6d1d74bc413
|
7
|
+
data.tar.gz: fe6aa4f48b414729aa0678589b4dc55eab153b5c6505edb21700601d7bb993b4cae2465ccb33eeb24becb12c7b68be45d7a88bea67507b8917b2ad23acf738ba
|
@@ -5,7 +5,20 @@ model: JobTemplate
|
|
5
5
|
job_category: Convert 2 RHEL
|
6
6
|
provider_type: script
|
7
7
|
kind: job_template
|
8
|
+
template_inputs:
|
9
|
+
- name: ELS
|
10
|
+
required: true
|
11
|
+
input_type: user
|
12
|
+
description: Use an Extended Lifecycle Support (ELS) add-on subscription
|
13
|
+
advanced: false
|
14
|
+
value_type: plain
|
15
|
+
options: "true\nfalse"
|
16
|
+
default: "true"
|
17
|
+
hidden_value: false
|
8
18
|
%>
|
19
|
+
<%-
|
20
|
+
els = input('ELS') == "true" ? "--els" : ""
|
21
|
+
-%>
|
9
22
|
<% if @host.operatingsystem.family == 'Redhat' -%>
|
10
23
|
if ! [ $(id -u) -eq 0 ]; then
|
11
24
|
echo "You must run convert2rhel as a root user."
|
@@ -18,7 +31,7 @@ fi
|
|
18
31
|
|
19
32
|
export CONVERT2RHEL_THROUGH_FOREMAN=1
|
20
33
|
|
21
|
-
/usr/bin/convert2rhel analyze -y
|
34
|
+
/usr/bin/convert2rhel analyze -y <%= els %>
|
22
35
|
|
23
36
|
# Workaround for https://issues.redhat.com/browse/RHELC-1280
|
24
37
|
subscription-manager facts --update
|
@@ -28,7 +28,7 @@ module ForemanRemoteExecution
|
|
28
28
|
|
29
29
|
initializer 'foreman_remote_execution.require_dynflow', :before => 'foreman_tasks.initialize_dynflow' do |app|
|
30
30
|
ForemanTasks.dynflow.require!
|
31
|
-
ForemanTasks.dynflow.config.queues.add(DYNFLOW_QUEUE
|
31
|
+
ForemanTasks.dynflow.config.queues.add(DYNFLOW_QUEUE)
|
32
32
|
ForemanTasks.dynflow.config.eager_load_paths << File.join(ForemanRemoteExecution::Engine.root, 'app/lib/actions')
|
33
33
|
end
|
34
34
|
|
@@ -117,11 +117,6 @@ module ForemanRemoteExecution
|
|
117
117
|
default: nil,
|
118
118
|
full_name: N_('Default SSH key passphrase'),
|
119
119
|
encrypted: true
|
120
|
-
setting 'remote_execution_workers_pool_size',
|
121
|
-
type: :integer,
|
122
|
-
description: N_('Amount of workers in the pool to handle the execution of the remote execution jobs. Restart of the dynflowd/foreman-tasks service is required.'),
|
123
|
-
default: 5,
|
124
|
-
full_name: N_('Workers pool size')
|
125
120
|
setting 'remote_execution_cleanup_working_dirs',
|
126
121
|
type: :boolean,
|
127
122
|
description: N_('When enabled, working directories will be removed after task completion. You may override this per host by setting a parameter called remote_execution_cleanup_working_dirs.'),
|
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: 14.1.
|
4
|
+
version: 14.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Foreman Remote Execution team
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: deface
|
@@ -341,6 +341,7 @@ files:
|
|
341
341
|
- db/migrate/20240312133027_extend_template_invocation_events.rb
|
342
342
|
- db/migrate/20240522093412_add_smart_proxy_id_to_template_invocation.rb
|
343
343
|
- db/migrate/20240522093413_migrate_smart_proxy_ids_to_template_invocations.rb
|
344
|
+
- db/migrate/20241126150849_remove_remote_execution_workers_pool_size.rb
|
344
345
|
- db/seeds.d/100-assign_features_with_templates.rb
|
345
346
|
- db/seeds.d/20-permissions.rb
|
346
347
|
- db/seeds.d/50-notification_blueprints.rb
|
@@ -578,7 +579,7 @@ homepage: https://github.com/theforeman/foreman_remote_execution
|
|
578
579
|
licenses:
|
579
580
|
- GPL-3.0
|
580
581
|
metadata: {}
|
581
|
-
post_install_message:
|
582
|
+
post_install_message:
|
582
583
|
rdoc_options: []
|
583
584
|
require_paths:
|
584
585
|
- lib
|
@@ -597,7 +598,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
597
598
|
version: '0'
|
598
599
|
requirements: []
|
599
600
|
rubygems_version: 3.3.27
|
600
|
-
signing_key:
|
601
|
+
signing_key:
|
601
602
|
specification_version: 4
|
602
603
|
summary: A plugin bringing remote execution to the Foreman, completing the config
|
603
604
|
management functionality with remote management functionality.
|