Change package resourse in order to support Puppet 3.4 and up