Skip to content

Commit 5c56e11

Browse files
author
Morgan Haskel
committed
Merge pull request puppetlabs#501 from cfeskens/allow-rhel7-repo
postgresql.org now has a RHEL7 repo available
2 parents 25ae8d6 + a24ceb3 commit 5c56e11

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

manifests/globals.pp

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,8 @@
109109

110110
# Setup of the repo only makes sense globally, so we are doing this here.
111111
if($manage_package_repo) {
112-
# Workaround the lack of RHEL7 repositories for now.
113-
if ! ($::operatingsystem == 'RedHat' and $::operatingsystemrelease =~ /^7/) {
114-
class { 'postgresql::repo':
115-
version => $globals_version
116-
}
112+
class { 'postgresql::repo':
113+
version => $globals_version
117114
}
118115
}
119116
}

0 commit comments

Comments
 (0)