Skip to content

Commit 3b6ee18

Browse files
committed
Add support for Debian 12 and Ubuntu 24.04
1 parent 203d4c7 commit 3b6ee18

File tree

5 files changed

+22
-3
lines changed

5 files changed

+22
-3
lines changed

metadata.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,15 @@
6969
{
7070
"operatingsystem": "Debian",
7171
"operatingsystemrelease": [
72-
"11"
72+
"11",
73+
"12"
7374
]
7475
},
7576
{
7677
"operatingsystem": "Ubuntu",
7778
"operatingsystemrelease": [
78-
"22.04"
79+
"22.04",
80+
"24.04"
7981
]
8082
}
8183
]

spec/acceptance/default_parameters_spec.rb

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,22 @@ class { 'postgresql::server':
1616
1717
postgresql::server::db { 'jira':
1818
user => 'jiraadm',
19+
grant => 'ALL',
1920
password => postgresql::postgresql_password('jiraadm', 'mypassword'),
2021
}
2122
23+
# This is needed for postgresql 15 but is backwards compatible
24+
postgresql::server::grant { 'jira':
25+
db => 'jira',
26+
object_type => 'SCHEMA',
27+
object_name => 'public',
28+
privilege => 'ALL',
29+
role => 'jiraadm',
30+
require => Postgresql::Server::Db['jira'],
31+
}
32+
2233
class { 'jira':
23-
require => Postgresql::Server::Db['jira'],
34+
require => Postgresql::Server::Grant['jira'],
2435
}
2536
EOS
2637

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
postgresql::globals::version: '15'
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
---
22
jira::java_package: openjdk-17-jre
33
jira::javahome: /usr/lib/jvm/java-17-openjdk-amd64
4+
5+
postgresql::globals::manage_package_repo: true
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
---
22
jira::java_package: java-17-openjdk
33
jira::javahome: /usr/lib/jvm/jre-17-openjdk
4+
5+
postgresql::globals::manage_dnf_module: true

0 commit comments

Comments
 (0)