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:
parent
b2e123180a
commit
e4d26bdd85
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue