Remove Support for Debian 9

This commit is contained in:
Keith 2023-07-24 11:43:40 -06:00
parent 90937e797d
commit c4decc900f
10 changed files with 6 additions and 3375 deletions

View file

@ -22,7 +22,6 @@ class rhizo_base::apt::common {
$fs_version = "${lsbdistcodename}" ? {
'bullseye' => '1.8.6',
'buster' => '1.8.6',
'stretch' => '1.6.20',
}
class { '::apt':
@ -126,45 +125,10 @@ class rhizo_base::apt::buster inherits rhizo_base::apt::common {
'source' => 'http://repo.rhizomatica.org/debian/repo.key'
}
}
}
class rhizo_base::apt::stretch inherits rhizo_base::apt::common {
apt::source { 'nodesource':
location => 'https://deb.nodesource.com/node_0.10',
release => 'jessie',
repos => 'main',
key => {
'id' => '9FD3B784BC1C6FC31A8A0A1C1655A0AB68576280',
'source' => 'https://deb.nodesource.com/gpgkey/nodesource.gpg.key'
},
require => Package['apt-transport-https'],
}
apt::source { 'rhizo-jessie':
location => 'http://repo.rhizomatica.org/debian/',
release => 'jessie',
repos => 'main',
key => {
'id' => '857FD282A0CD2282207556C67DF075856A6A0AD5',
'source' => 'http://repo.rhizomatica.org/debian/repo.key'
}
}
apt::source { 'rhizo-stretch':
location => 'http://repo.rhizomatica.org/debian/',
release => 'stretch',
repos => 'main',
key => {
'id' => '857FD282A0CD2282207556C67DF075856A6A0AD5',
'source' => 'http://repo.rhizomatica.org/debian/repo.key'
}
}
file { [ '/etc/apt/sources.list.d/osmocom-latest.list',
'/etc/apt/sources.list.d/osmocom-nightly.list',
'/etc/apt/sources.list.d/osmocom.list',
'/etc/apt/sources.list.d/apt.postgresql.org.list' ]:
file { [ '/etc/apt/sources.list.d/rhizo-jessie.list',
'/etc/apt/sources.list.d/rhizo-stretch.list',
'/etc/apt/sources.list.d/nodesource.list' ]:
ensure => absent,
}
}