added basic puppetdb script