summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorRaphaël Pinson <raphael.pinson@camptocamp.com>2015-08-31 16:19:02 +0200
committerRaphaël Pinson <raphael.pinson@camptocamp.com>2015-08-31 16:19:02 +0200
commitd918035d3abb026c334e090fb8ac29974e0f12d0 (patch)
tree25fa93b2ab5f0f63e6e063ff5137e89aafc608a9 /manifests
parent762de88d63ec7d75766a5a967a4f9b56b1f8011b (diff)
is_pe is not defined in Puppet open-source
Diffstat (limited to 'manifests')
-rw-r--r--manifests/params.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/params.pp b/manifests/params.pp
index cce558d..dc64f9c 100644
--- a/manifests/params.pp
+++ b/manifests/params.pp
@@ -6,7 +6,7 @@ class augeas::params {
if versioncmp($::puppetversion, '4.0.0') >= 0 {
$lens_dir = '/opt/puppetlabs/puppet/share/augeas/lenses'
- } elsif (str2bool($::is_pe)) {
+ } elsif (defined('$is_pe') and str2bool("${::is_pe}")) { # lint:ignore:only_variable_string
# puppet enterpise has a different lens location
$lens_dir = '/opt/puppet/share/augeas/lenses'
} else {