Skip to content

Commit 18ac4a1

Browse files
evgeniekohl
authored andcommitted
drop support for Debian 10 Buster
1 parent 7343bb5 commit 18ac4a1

File tree

4 files changed

+2
-12
lines changed

4 files changed

+2
-12
lines changed

manifests/plugin/ansible/params.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
} else {
2828
$callback = 'foreman'
2929
}
30-
$manage_runner_repo = true
30+
$manage_runner_repo = false
3131
$runner_package_name = 'python3-ansible-runner'
3232
}
3333
default: {

manifests/plugin/ansible/runner.pp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,6 @@
1010
) {
1111
if $manage_runner_repo {
1212
case $facts['os']['family'] {
13-
'Debian': {
14-
include apt
15-
apt::source { 'ansible-runner':
16-
ensure => absent,
17-
}
18-
}
1913
'RedHat': {
2014
yumrepo { 'ansible-runner':
2115
descr => 'Ansible runner',

metadata.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@
8181
{
8282
"operatingsystem": "Debian",
8383
"operatingsystemrelease": [
84-
"10",
8584
"11"
8685
]
8786
},

spec/classes/foreman_proxy__plugin__ansible_spec.rb

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,7 @@
1111
it { should contain_foreman_proxy__plugin__module('ansible') }
1212

1313
case os
14-
when 'debian-10-x86_64'
15-
it 'should cleanup old ansible-runner upstream repo' do
16-
should contain_apt__source('ansible-runner').with_ensure('absent')
17-
end
14+
when 'debian-11-x86_64'
1815
it { should contain_package('python3-ansible-runner').with_ensure('installed') }
1916
when 'redhat-7-x86_64'
2017
it 'should include ansible-runner upstream repo' do

0 commit comments

Comments
 (0)