File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 132
132
133
133
# RedHat-based systems hardcode some PG* variables in the init script, and need to be overriden
134
134
# in /etc/sysconfig/pgsql/postgresql. Create a blank file so we can manage it with augeas later.
135
- if ($::osfamily == ' RedHat' ) and ($::operatingsystemrelease !~ /^7/) and ($::operatingsystem != ' Fedora' ) {
135
+ if ($::osfamily == ' RedHat' ) and ($::operatingsystemrelease !~ /^7|^8 /) and ($::operatingsystem != ' Fedora' ) {
136
136
file { '/etc/sysconfig/pgsql/postgresql' :
137
137
ensure => present ,
138
138
replace => false ,
Original file line number Diff line number Diff line change 112
112
}
113
113
}
114
114
if $::osfamily == ' RedHat' {
115
- if ! ($::operatingsystemrelease =~ /^7/ or $::operatingsystem == ' Fedora' ) {
115
+ if ! ($::operatingsystemrelease =~ /^7|^8 / or $::operatingsystem == ' Fedora' ) {
116
116
if $name == ' port' {
117
117
# We need to force postgresql to stop before updating the port
118
118
# because puppet becomes confused and is unable to manage the
You can’t perform that action at this time.
0 commit comments