Skip to content

Commit f247991

Browse files
evgeniekohl
authored andcommitted
Fixes #35809 - always enable rex when enabling ansible
sp_ansible depends on sp_rex to work, but we never properly setup the later unless the user *explicitly* also asks for it
1 parent 6bd3c34 commit f247991

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

manifests/plugin/ansible.pp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
}
6060

6161
include foreman_proxy::plugin::dynflow
62+
include foreman_proxy::plugin::remote_execution::script
6263
if $install_runner {
6364
include foreman_proxy::plugin::ansible::runner
6465
}

spec/classes/foreman_proxy__plugin__ansible_spec.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
describe 'with default settings' do
1010
it { should contain_class('foreman_proxy::plugin::dynflow') }
11+
it { should contain_class('foreman_proxy::plugin::remote_execution::script') }
1112
it { should contain_foreman_proxy__plugin__module('ansible') }
1213

1314
case os
@@ -58,6 +59,7 @@
5859
end
5960

6061
it { should contain_class('foreman_proxy::plugin::dynflow') }
62+
it { should contain_class('foreman_proxy::plugin::remote_execution::script') }
6163

6264
case os
6365
when 'debian-10-x86_64'

0 commit comments

Comments
 (0)