BIGTOP-275. scoping of variable in puppet code is incorrect