dalen / puppet-puppetdbquery

Query functions for PuppetDB
Apache License 2.0
198 stars 71 forks source link

How to specify PuppetDB hostname in Puppet function? #91

Open JuniperSpring opened 8 years ago

JuniperSpring commented 8 years ago

On the command line I can specify the PuppetDB host: puppet query nodes '...' --host 'puppetdb.example.com'

How do I specify the host when using a puppet function in a puppet manifest?

Thanks!

dalen commented 8 years ago

At the moment this is unsupported other than changing the puppetdb config file.