Skip to content

Commit

Permalink
Merge pull request redhat-openstack#273 from cmurphy/fix_strict_vars
Browse files Browse the repository at this point in the history
Lookup is_pe fact with getvar
  • Loading branch information
hunner committed Feb 23, 2015
2 parents 9b3f4b3 + 59d7a3a commit a4133c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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 getvar('::is_pe') {
if $::kernel == 'windows' {
$command_path = "${::env_windows_installdir}/bin:${::path}"
} else {
Expand Down

0 comments on commit a4133c4

Please sign in to comment.