diff --git a/manifests/globals.pp b/manifests/globals.pp index bc95969..17cc854 100644 --- a/manifests/globals.pp +++ b/manifests/globals.pp @@ -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. - unless ($::operatingsystem == 'RedHat') and ($::operatingsystemrelease =~ /^7/) { + if ! ($::operatingsystem == 'RedHat') and ($::operatingsystemrelease =~ /^7/) { class { 'postgresql::repo': ensure => $ensure, version => $globals_version