Skip to content

Commit 6db7066

Browse files
authored
Merge pull request #454 from kenyon/eol-ubuntu18-20
Drop support for EOL Ubuntu 18.04 and Ubuntu 20.04
2 parents 4d7e81e + e13a1ce commit 6db7066

File tree

4 files changed

+4
-46
lines changed

4 files changed

+4
-46
lines changed

README.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -268,14 +268,7 @@ see [REFERENCE.md](REFERENCE.md)
268268

269269
## Limitations
270270

271-
* Puppet 6.1.0
272-
* Puppet Enterprise
273-
274-
The puppetlabs repositories can be found at:
275-
<http://yum.puppetlabs.com/> and <http://apt.puppetlabs.com/>
276-
277-
* RedHat 7, 8 or compatible (CentOS, Oracle Linux, etc)
278-
* Ubuntu 18.04, 20.04
271+
See `metadata.json` for supported Puppet platforms and components.
279272

280273
* Jira 8.x
281274

metadata.json

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -39,23 +39,20 @@
3939
{
4040
"operatingsystem": "RedHat",
4141
"operatingsystemrelease": [
42-
"7",
4342
"8",
4443
"9"
4544
]
4645
},
4746
{
4847
"operatingsystem": "CentOS",
4948
"operatingsystemrelease": [
50-
"7",
5149
"8",
5250
"9"
5351
]
5452
},
5553
{
5654
"operatingsystem": "OracleLinux",
5755
"operatingsystemrelease": [
58-
"7",
5956
"8",
6057
"9"
6158
]
@@ -74,12 +71,6 @@
7471
"9"
7572
]
7673
},
77-
{
78-
"operatingsystem": "Scientific",
79-
"operatingsystemrelease": [
80-
"7"
81-
]
82-
},
8374
{
8475
"operatingsystem": "Debian",
8576
"operatingsystemrelease": [
@@ -89,8 +80,6 @@
8980
{
9081
"operatingsystem": "Ubuntu",
9182
"operatingsystemrelease": [
92-
"18.04",
93-
"20.04",
9483
"22.04"
9584
]
9685
}

spec/acceptance/default_parameters_jira_10_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
def on_supported_os
66
family = fact('os.family')
77
major = fact('os.release.major')
8-
(family == 'Debian' and (major >= '22.04' or (major >= '11' and major <= '20'))) or (family == 'RedHat' and major >= '8')
8+
family == 'Debian' and (major >= '22.04' or (major >= '11' and major <= '20'))
99
end
1010

1111
prepare = <<-EOS

spec/acceptance/mysql_spec.rb

Lines changed: 2 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -5,36 +5,12 @@
55
describe 'jira mysql' do
66
it 'installs with defaults' do
77
pp = <<-EOS
8-
# On ubuntu 20.04 and 22.04 the default is to install mariadb
9-
# As the ubuntu 20.04 runner we use in github actions allready has mysql installed
10-
# a apparmor error is triggerd when using mariadb in this test..
11-
# Forcing the use of mysql
12-
if $facts['os']['name'] == 'Ubuntu' and versioncmp($facts['os']['release']['major'], '20.04') >= 0 {
13-
$mysql_service_name = 'mysql'
14-
$mysql_server_package = 'mysql-server'
15-
$mysql_client_package = 'mysql-client'
16-
} else {
17-
$mysql_service_name = undef
18-
$mysql_server_package = undef
19-
$mysql_client_package = undef
20-
}
21-
228
class { 'mysql::server':
239
root_password => 'strongpassword',
24-
package_name => $mysql_server_package,
25-
service_name => $mysql_service_name,
26-
}
27-
class { 'mysql::client':
28-
package_name => $mysql_client_package,
2910
}
11+
include mysql::client
3012
31-
# Default MySQL is too old for utf8mb4 on CentOS 7, or something. Also Ubuntu 20.04
32-
# for some reason fails with utf8
33-
if $facts['os']['family'] == 'RedHat' and $facts['os']['release']['major'] == '7' {
34-
$cs = 'utf8'
35-
} else {
36-
$cs = 'utf8mb4'
37-
}
13+
$cs = 'utf8mb4'
3814
3915
mysql::db { 'jira':
4016
charset => $cs,

0 commit comments

Comments
 (0)