Skip to content

Commit

Permalink
Check for variations of $is_pe
Browse files Browse the repository at this point in the history
On recent versions of facter, we need to check for a boolean value, but
to support older versions of Facter, we need to check for a string.
  • Loading branch information
Zach Leslie committed Nov 20, 2014
1 parent a37ce88 commit 6cf4639
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
$webhook_enable_ssl = true
$webhook_use_mcollective = true

if $::is_pe =~ /true/ {
if $::is_pe == true or $::is_pe == 'true' {
# Puppet Enterprise specific settings
$puppetconf_path = '/etc/puppetlabs/puppet'

Expand Down

0 comments on commit 6cf4639

Please sign in to comment.