Re: [Puppet Users] List all hosts

2017-05-31 Thread Daniel Scott
On Wednesday, 31 May 2017 14:36:33 UTC+1, R.I. Pienaar wrote: > > > > On Wed, May 31, 2017, at 15:33, Daniel Scott wrote: > > Hi, > > > > I'm looking for a way to list all hosts known by a puppetserver (in > > puppetdb). > > > > I've been using

[Puppet Users] List all hosts

2017-05-31 Thread Daniel Scott
Hi, I'm looking for a way to list all hosts known by a puppetserver (in puppetdb). I've been using 'puppet cert list --all', however, this doesn't necessarily correspond to the list of hosts in puppetdb (for example, if I have to rebuild the puppet server, and lose all the certs, but I still

[Puppet Users] Accessing puppet node facts in report processor

2016-06-14 Thread Daniel Scott
Hi, Is there a way to access a puppet node's facts in a report processor? We have nodes which are part of auto scaling groups in AWS, so there are, several nodes which are all the same 'type'. We expose this type as a fact on the nodes themselves, and I would like to use the type in a report

[Puppet Users] Deploy config file for custom reports

2013-07-03 Thread Daniel Scott
Hi, I've written a custom report which just makes an HTTP call to one of my servers so that I can log the event. The report installs itself when the puppetmaster puppets itself. The report script is copied from $MODULE_NAME/lib/puppet/reports/callback.rb into the puppetmaster's