idfile variable not being picked up in template due to scope issues. 

Puppet version 3.2.1.