fix calls to Puppet.warning

Was using Puppet.warn instead which is a private method and
raises an exception. Who thought it was a good idea to git puppet
it's own logging methods that are inconsistent with the Logger
ones?