From 6cf46397e6c84c72afe3c3e5e90d4c151c33a05c Mon Sep 17 00:00:00 2001 From: Zach Leslie Date: Thu, 20 Nov 2014 13:35:44 -0800 Subject: [PATCH] Check for variations of $is_pe 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. --- manifests/params.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/params.pp b/manifests/params.pp index 8463aeda..ef6982d5 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -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'