Re: [Puppet Users] Creating a list of hosts

2015-03-26 Thread Peter Berghold
Ok... I thought so... thanks On Thu, Mar 26, 2015, 18:18 Jeffrey Watts wrote: > Put the puppetdb directory in /etc/puppet/modules. > > Good luck. > Jeffrey. > > > On Thu, Mar 26, 2015 at 3:58 PM, Peter Berghold > wrote: > >> OK... excuse me for being a bit dense... but how do you install this >

Re: [Puppet Users] Creating a list of hosts

2015-03-26 Thread Jeffrey Watts
Put the puppetdb directory in /etc/puppet/modules. Good luck. Jeffrey. On Thu, Mar 26, 2015 at 3:58 PM, Peter Berghold wrote: > OK... excuse me for being a bit dense... but how do you install this > thing? i've unzipped it and it isn't very obvious to me... > -- You received this message bec

Re: [Puppet Users] Creating a list of hosts

2015-03-26 Thread Peter Berghold
OK... excuse me for being a bit dense... but how do you install this thing? i've unzipped it and it isn't very obvious to me... On Thu, Mar 26, 2015 at 4:47 PM Peter Berghold wrote: > puppetdbquery looks worth looking into... > > On Thu, Mar 26, 2015 at 4:07 PM Felix Frank < > felix.fr...@alumn

Re: [Puppet Users] Creating a list of hosts

2015-03-26 Thread Peter Berghold
puppetdbquery looks worth looking into... On Thu, Mar 26, 2015 at 4:07 PM Felix Frank wrote: > On 03/26/2015 07:39 PM, Peter Berghold wrote: > > > > I guess you can't export such a thing? > > You can. But your define is not called 'remotemaster'. Perhaps that is > the cause of the error. > > Che

Re: [Puppet Users] Creating a list of hosts

2015-03-26 Thread Felix Frank
On 03/26/2015 07:39 PM, Peter Berghold wrote: > > I guess you can't export such a thing? You can. But your define is not called 'remotemaster'. Perhaps that is the cause of the error. Cheers, Felix -- You received this message because you are subscribed to the Google Groups "Puppet Users" grou

Re: [Puppet Users] Creating a list of hosts

2015-03-26 Thread Jeffrey Watts
On Thu, Mar 26, 2015 at 11:29 AM, Peter Berghold wrote: > I need a push in the right direction. I have a need to have a subset of > hosts in my environment "register" themselves to receive rsync updates from > a central host. I realize that the right approach is exported resources > but I'm get

Re: [Puppet Users] Creating a list of hosts

2015-03-26 Thread Peter Berghold
Actually I made a typo and the segment of code that should have exported a resource was never invoked. When I fixed the typo I know get: Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type

Re: [Puppet Users] Creating a list of hosts

2015-03-26 Thread Felix Frank
On 03/26/2015 05:29 PM, Peter Berghold wrote: > > I watched the puppetdb log and it would seem something is being written > to puppetdb and puppetdb is the backend for storeconfigs. Have you tried actually querying the PuppetDB contents? https://docs.puppetlabs.com/puppetdb/latest/api/query/v2/

[Puppet Users] Creating a list of hosts

2015-03-26 Thread Peter Berghold
I need a push in the right direction. I have a need to have a subset of hosts in my environment "register" themselves to receive rsync updates from a central host. I realize that the right approach is exported resources but I'm getting stuck on the actual implementation. Here is what I tried: i