dalen / puppet-puppetdbquery

Query functions for PuppetDB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to specify PuppetDB hostname in Puppet function?

JuniperSpring opened this issue · comments

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!

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