Skip to content

Commit

Permalink
Merge pull request #1591 from bastelfreak/tests6
Browse files Browse the repository at this point in the history
Add EL9 support
  • Loading branch information
ekohl authored Jul 31, 2024
2 parents 4042680 + 2fab228 commit 93bf0b5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
12 changes: 8 additions & 4 deletions metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,15 @@
"operatingsystem": "CentOS",
"operatingsystemrelease": [
"7",
"8"
"8",
"9"
]
},
{
"operatingsystem": "OracleLinux",
"operatingsystemrelease": [
"7"
"7",
"9"
]
},
{
Expand Down Expand Up @@ -79,13 +81,15 @@
{
"operatingsystem": "Rocky",
"operatingsystemrelease": [
"8"
"8",
"9"
]
},
{
"operatingsystem": "AlmaLinux",
"operatingsystemrelease": [
"8"
"8",
"9"
]
}
],
Expand Down
4 changes: 2 additions & 2 deletions spec/acceptance/server_instance_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# run a test task
require 'spec_helper_acceptance'

describe 'postgresql instance test1', if: os[:family] == 'redhat' && os[:release].start_with?('8') do
describe 'postgresql instance test1', if: os[:family] == 'redhat' && !os[:release].start_with?('7') do
pp = <<-MANIFEST
# set global defaults
class { 'postgresql::globals':
Expand All @@ -12,7 +12,7 @@ class { 'postgresql::globals':
manage_package_repo => false,
manage_dnf_module => true,
needs_initdb => true,
version => '13',
version => '16',
}
# stop default main instance
class { 'postgresql::server':
Expand Down

0 comments on commit 93bf0b5

Please sign in to comment.