added a puppetdb type
added support for elasticsearch