Fix defined() call to correctly test is_pe

defined('$::is_pe') will never evaluate to true, even if
the is_pe fact is defined. defined('$is_pe') will return the
correct results.
This commit is contained in:
Sean Millichamp 2014-10-03 16:49:25 -04:00
parent b2e123180a
commit e4d26bdd85

View file

@ -65,7 +65,7 @@ class puppetdb::params {
}
}
if defined('$::is_pe') and str2bool($::is_pe) == true {
if defined('$is_pe') and str2bool($::is_pe) == true {
$puppetdb_package = 'pe-puppetdb'
$puppetdb_service = 'pe-puppetdb'
$confdir = '/etc/puppetlabs/puppetdb/conf.d'