'!' binds before 'and'.
This caused the repo not to be included on RHEL5 and added extra failures.
This commit is contained in:
parent
911b868bcb
commit
906794d3ce
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ class postgresql::globals (
|
|||
# Setup of the repo only makes sense globally, so we are doing this here.
|
||||
if($manage_package_repo) {
|
||||
# Workaround the lack of RHEL7 repositories for now.
|
||||
if ! ($::operatingsystem == 'RedHat') and ($::operatingsystemrelease =~ /^7/) {
|
||||
if ! ($::operatingsystem == 'RedHat' and $::operatingsystemrelease =~ /^7/) {
|
||||
class { 'postgresql::repo':
|
||||
ensure => $ensure,
|
||||
version => $globals_version
|
||||
|
|
Loading…
Reference in a new issue