fix Puppet 2.7 issue