Fix usage of variables in templates for puppet 3