diff --git a/manifests/init.pp b/manifests/init.pp index 78c408149..fa05a1004 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -199,7 +199,7 @@ $command = strip(regsubst("${script_command} -o \"${fragdir}/${concat_name}\" -d \"${fragdir}\" ${warnflag} ${forceflag} ${orderflag} ${newlineflag}", '\s+', ' ', 'G')) # make sure ruby is in the path for PE - if $::is_pe { + if defined('$is_pe') and $::is_pe { if $::kernel == 'windows' { $command_path = "${::env_windows_installdir}/bin:${::path}" } else {