'!' binds before 'and'.

This caused the repo not to be included on RHEL5 and added extra failures.
This commit is contained in:
Morgan Haskel 2014-05-13 10:54:09 -04:00
parent 911b868bcb
commit 906794d3ce

View file

@ -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