Skip to content

Commit abe2b9c

Browse files
author
Ashley Penney
committed
Merge pull request puppetlabs#3 from mhaskel/rhel7
'!' binds before 'and'.
2 parents 911b868 + 906794d commit abe2b9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manifests/globals.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
# Setup of the repo only makes sense globally, so we are doing this here.
105105
if($manage_package_repo) {
106106
# Workaround the lack of RHEL7 repositories for now.
107-
if ! ($::operatingsystem == 'RedHat') and ($::operatingsystemrelease =~ /^7/) {
107+
if ! ($::operatingsystem == 'RedHat' and $::operatingsystemrelease =~ /^7/) {
108108
class { 'postgresql::repo':
109109
ensure => $ensure,
110110
version => $globals_version

0 commit comments

Comments
 (0)