patched for running in puppetmaster v3