update puppet module to be compatible with ruby 2.1

See: https://tickets.puppetlabs.com/browse/PUP-1243 for more info
Install java 8 instead of java 7