debugging puppetmaster code