Skip to content

Commit 1507123

Browse files
committed
removed inherits postgresql::params
inheriting postgresql::params creates a cycle, because postgresql::repo gets instantiated in postgresql::globals which is inherited by postgresql::params. Also postgresql::params are not needed, because only version is used by postgresql::repo, postgresql::repo::yum_postgresql_org and postgresql::repo::apt_postgresql_org and it get set in postgresql::globals by a resource like class instantiation.
1 parent 213bb75 commit 1507123

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manifests/repo.pp

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
class postgresql::repo (
33
$version = undef,
44
$proxy = undef,
5-
) inherits postgresql::params {
5+
) {
66
case $::osfamily {
77
'RedHat', 'Linux': {
88
if $version == undef {

0 commit comments

Comments
 (0)