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 cert list --all', however, this doesn't

Re: [Puppet Users] List all hosts

2017-05-31 Thread R.I.Pienaar
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 cert list --all', however, this doesn't > necessarily > correspond to the list of hosts in puppetdb (for example, if I hav

[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 h

Re: [Puppet Users] Trouble translating Hiera 3 -> 5 config file

2017-05-31 Thread Bret Wortman
When run on the master querying a node that isn't the master: # puppet lookup --node zw129 --explain sudo::disable_sssd Merge strategy first Data Binding "hiera" No such key: "sudo::disable_sssd" Data Provider "Environment Data Provider" No such key: "sudo::disable_sssd" Module "sudo

Re: [Puppet Users] Trouble translating Hiera 3 -> 5 config file

2017-05-31 Thread Henrik Lindberg
On 30/05/17 17:09, Bret Wortman wrote: I'm working on upgrading to the Hiera 5 spec and moving away from our global config, but to do that I need to first make sure I have a working H5 config file, so I set to translating our current one using the Puppetlabs documentation. I must be missing s