Skip to content

Commit 588757d

Browse files
author
Morgan Haskel
committed
Merge pull request #343 from raphink/fix/is_pe_master
Compare $::is_pe as bool, not string
2 parents 130a334 + 17b836b commit 588757d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

manifests/init.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@
205205
$command = strip(regsubst("${script_command} -o \"${fragdir}/${concat_name}\" -d \"${fragdir}\" ${warnflag} ${forceflag} ${orderflag} ${newlineflag}", '\s+', ' ', 'G'))
206206

207207
# make sure ruby is in the path for PE
208-
if defined('$is_pe') and $::is_pe {
208+
if defined('$is_pe') and str2bool("${::is_pe}") { # lint:ignore:only_variable_string
209209
if $::kernel == 'windows' {
210210
$command_path = "${::env_windows_installdir}/bin:${::path}"
211211
} else {

0 commit comments

Comments
 (0)