Add puppetdb inventory script