Skip to content

Commit 4a37740

Browse files
adamruzickaevgeni
authored andcommitted
Drop ssh-async rex mode
1 parent 9498e23 commit 4a37740

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

manifests/plugin/remote_execution/script.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
Stdlib::Absolutepath $local_working_dir = '/var/tmp',
5353
Stdlib::Absolutepath $remote_working_dir = '/var/tmp',
5454
Boolean $ssh_kerberos_auth = false,
55-
Enum['ssh', 'ssh-async', 'pull-mqtt'] $mode = 'ssh',
55+
Enum['ssh', 'pull-mqtt'] $mode = 'ssh',
5656
Optional[Foreman_proxy::Sshloglevel] $ssh_log_level = undef,
5757
Boolean $cockpit_integration = true,
5858
Optional[Integer] $mqtt_ttl = undef,

spec/classes/foreman_proxy__plugin__remote_execution__script_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
:ssh_identity_file => 'id_rsa',
5555
:install_key => true,
5656
:ssh_kerberos_auth => true,
57-
:mode => 'ssh-async',
57+
:mode => 'pull-mqtt',
5858
:ssh_log_level => 'debug',
5959
:cockpit_integration => false,
6060
} end
@@ -69,7 +69,7 @@
6969
with_content(%r{:local_working_dir: /tmp}).
7070
with_content(%r{:remote_working_dir: /tmp}).
7171
with_content(%r{:kerberos_auth: true}).
72-
with_content(%r{:mode: ssh-async}).
72+
with_content(%r{:mode: pull-mqtt}).
7373
with_content(%r{:ssh_log_level: debug}).
7474
with_content(%r{:cockpit_integration: false}).
7575
with({

templates/plugin/remote_execution_ssh.yml.erb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
:cockpit_integration: <%= scope.lookupvar('::foreman_proxy::plugin::remote_execution::script::cockpit_integration') %>
1212

13-
# Whether to run remote execution jobs asynchronously
1413
:mode: <%= scope.lookupvar("::foreman_proxy::plugin::remote_execution::script::mode") %>
1514
<% if scope.lookupvar("::foreman_proxy::plugin::remote_execution::script::mode") == 'pull-mqtt' -%>
1615

0 commit comments

Comments
 (0)