See if this fixes puppet 2.7.

This commit is contained in:
Ashley Penney 2014-05-13 00:38:56 +02:00
parent 192ea5e3f3
commit ff59d421f9

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.
unless ($::operatingsystem == 'RedHat') and ($::operatingsystemrelease =~ /^7/) {
if ! ($::operatingsystem == 'RedHat') and ($::operatingsystemrelease =~ /^7/) {
class { 'postgresql::repo':
ensure => $ensure,
version => $globals_version