Skip to content

Commit

Permalink
changed variable namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
CJ Estel committed Sep 8, 2015
1 parent 29b7cf0 commit 5ea9355
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@
#
# userlist_file is the name of the auth_file where the userlist is stored
#
# deb_default_file is a file specific to ubuntu that loads a startup file
#
class pgbouncer (
$userlist = $pgbouncer::params::userlist,
$databases = $pgbouncer::params::databases,
Expand All @@ -91,6 +93,7 @@
$pgbouncer_package_name = $pgbouncer::params::pgbouncer_package_name,
$conffile = $pgbouncer::params::conffile,
$userlist_file = $pgbouncer::params::userlist_file,
$deb_default_file = $pgbouncer::params::deb_default_file,
) inherits pgbouncer::params {

# merge the defaults and custom params
Expand Down Expand Up @@ -128,7 +131,7 @@

# check if debian
if $::osfamily == 'Debian' {
file{ $::pgbouncer::deb_default_file:
file{ $deb_default_file:
ensure => file,
source => 'puppet:///modules/pgbouncer/pgbouncer',
require => Package[$pgbouncer_package_name],
Expand Down

0 comments on commit 5ea9355

Please sign in to comment.