Remove Support for Debian 9
This commit is contained in:
parent
90937e797d
commit
c4decc900f
10 changed files with 6 additions and 3375 deletions
|
@ -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,
|
||||
}
|
||||
}
|
||||
|
|
|
@ -123,7 +123,6 @@ class rhizo_base::freeswitch::common {
|
|||
$fs_version = "${lsbdistcodename}" ? {
|
||||
'bullseye' => '1.8.6',
|
||||
'buster' => '1.8.6',
|
||||
'stretch' => '1.6.20',
|
||||
}
|
||||
package {
|
||||
[
|
||||
|
|
|
@ -300,14 +300,6 @@ schedule { 'never':
|
|||
}
|
||||
}
|
||||
|
||||
if ($lsbdistcodename == 'stretch') {
|
||||
file { '/etc/joe/joerc':
|
||||
ensure => present,
|
||||
source => 'puppet:///modules/rhizo_base/joerc.4.4',
|
||||
require => Package['joe'],
|
||||
}
|
||||
}
|
||||
|
||||
file { '/var/rhizo_backups':
|
||||
ensure => directory,
|
||||
}
|
||||
|
@ -739,12 +731,6 @@ schedule { 'never':
|
|||
type => 'ssh-rsa',
|
||||
}
|
||||
|
||||
if ($lsbdistcodename == 'stretch') {
|
||||
$sysctl = '/sbin/sysctl'
|
||||
} else {
|
||||
$sysctl = '/usr/sbin/sysctl'
|
||||
}
|
||||
|
||||
if $has_ip6 == "1" {
|
||||
file { '/etc/network/ip6t-default':
|
||||
ensure => 'present',
|
||||
|
@ -755,7 +741,7 @@ schedule { 'never':
|
|||
ensure => 'absent'
|
||||
}
|
||||
exec { 'ip6-activate':
|
||||
command => "${sysctl} net.ipv6.conf.all.disable_ipv6=0"
|
||||
command => "/sbin/sysctl net.ipv6.conf.all.disable_ipv6=0"
|
||||
}
|
||||
} else {
|
||||
file { '/etc/sysctl.d/10-ipv6.conf':
|
||||
|
|
|
@ -32,7 +32,6 @@ class rhizo_base::kiwi {
|
|||
package {
|
||||
['nodejs']:
|
||||
ensure => $lsbdistcodename ? {
|
||||
"stretch" => '0.10.48-1nodesource1~jessie1',
|
||||
"buster" => '10.24.0~dfsg-1~deb10u3',
|
||||
"bullseye"=> "12.22.5~dfsg-2~11u1"
|
||||
},
|
||||
|
|
|
@ -43,35 +43,6 @@ class rhizo_base::osmocom::buster inherits rhizo_base::osmocom::common {
|
|||
}
|
||||
}
|
||||
|
||||
class rhizo_base::osmocom::stretch inherits rhizo_base::osmocom::common {
|
||||
|
||||
package { [ 'osmo-bsc' ]:
|
||||
ensure => '1.9.0+rhizo3s',
|
||||
require => Class['rhizo_base::apt'],
|
||||
notify => Exec['notify-osmo-restart'],
|
||||
}
|
||||
package { [ 'osmo-msc' ]:
|
||||
ensure => '1.9.0+rhizo7s',
|
||||
require => Class['rhizo_base::apt'],
|
||||
}
|
||||
package { [ 'osmo-sgsn' ]:
|
||||
ensure => '1.9.0rhizo1',
|
||||
require => Class['rhizo_base::apt'],
|
||||
}
|
||||
package { [ 'osmo-sip-connector' ]:
|
||||
ensure => '1.6.1rhizo1',
|
||||
require => Class['rhizo_base::apt'],
|
||||
}
|
||||
package { [ 'osmo-bsc-meas-utils' ]:
|
||||
ensure => 'installed',
|
||||
}
|
||||
package { [ 'osmo-hlr', 'libosmo-mslookup0', 'osmo-mslookup-utils',
|
||||
'libosmo-gsup-client0' ]:
|
||||
ensure => '1.5.0+rhizo6s',
|
||||
require => Class['rhizo_base::apt'],
|
||||
}
|
||||
}
|
||||
|
||||
class rhizo_base::osmocom::common {
|
||||
|
||||
include systemd
|
||||
|
|
|
@ -101,24 +101,3 @@ class rhizo_base::packages::buster inherits rhizo_base::packages::common {
|
|||
append_on_no_match => false,
|
||||
}
|
||||
}
|
||||
|
||||
class rhizo_base::packages::stretch inherits rhizo_base::packages::common {
|
||||
|
||||
package { ['python-unidecode', 'python-dateutil', 'python-yaml', 'python-formencode',
|
||||
'python-xmltodict', 'python-psycopg2', 'python-pysqlite2' ]:
|
||||
ensure => installed,
|
||||
require => Class['rhizo_base::apt'],
|
||||
}
|
||||
|
||||
package { ['libcdk5', 'nmap', 'libgps22' ]:
|
||||
ensure => installed,
|
||||
require => Class['rhizo_base::apt'],
|
||||
}
|
||||
|
||||
file { '/etc/php/7.0/apache2/php.ini':
|
||||
ensure => present,
|
||||
source => "puppet:///modules/rhizo_base/php.ini",
|
||||
require => Package['libapache2-mod-php']
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue