Merge pull request #3 from mhaskel/rhel7

'!' binds before 'and'.
This commit is contained in:
Ashley Penney 2014-05-13 11:02:47 -04:00
commit abe2b9ceb2

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