Change package resource in order to support Puppet 3.4 and up