Skip to content

Commit a4133c4

Browse files
committed
Merge pull request #273 from cmurphy/fix_strict_vars
Lookup is_pe fact with getvar
2 parents 9b3f4b3 + 59d7a3a commit a4133c4

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
@@ -199,7 +199,7 @@
199199
$command = strip(regsubst("${script_command} -o \"${fragdir}/${concat_name}\" -d \"${fragdir}\" ${warnflag} ${forceflag} ${orderflag} ${newlineflag}", '\s+', ' ', 'G'))
200200

201201
# make sure ruby is in the path for PE
202-
if $::is_pe {
202+
if getvar('::is_pe') {
203203
if $::kernel == 'windows' {
204204
$command_path = "${::env_windows_installdir}/bin:${::path}"
205205
} else {

0 commit comments

Comments
 (0)