Avoid deprecation warnings in puppet 3.3