Skip to content

Commit ef832c5

Browse files
authored
Merge pull request puppetlabs#1044 from binford2k/cleanup_extra_variable
(maint) remove inconsistent extra variable
2 parents 6e82d32 + e948954 commit ef832c5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

manifests/server.pp

+3-3
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,6 @@
6363
#Deprecated
6464
$version = undef,
6565
) inherits postgresql::params {
66-
$pg = 'postgresql::server'
67-
6866
if $version != undef {
6967
warning('Passing "version" to postgresql::server is deprecated; please use postgresql::globals instead.')
7068
$_version = $version
@@ -77,7 +75,9 @@
7775
}
7876

7977
# Reload has its own ordering, specified by other defines
80-
class { "${pg}::reload": require => Class["${pg}::install"] }
78+
class { 'postgresql::server::reload':
79+
require => Class['postgresql::server::install'],
80+
}
8181

8282
contain postgresql::server::install
8383
contain postgresql::server::initdb

0 commit comments

Comments
 (0)