Puppet 3.4

Fix package resource in order to support Puppet 3.4 and up