for puppetdb 1.1 only