Mike,

I thought about that, but a directory listing includes all nodes that have 
connected to the puppetmaster (old or decommissioned servers, etc.).  I'd like 
to get a list of nodes that are currently defined in the nodes.pp file.


--- On Tue, 1/6/09, Mike Renfro <ren...@tntech.edu> wrote:

> From: Mike Renfro <ren...@tntech.edu>
> Subject: [Puppet Users] Re: Get list of all nodes
> To: puppet-users@googlegroups.com
> Date: Tuesday, January 6, 2009, 8:40 AM
> On 1/6/2009 10:09 AM, John Philips wrote:
> 
> > Is there a way to export a list of all
> manually-defined nodes in a 
> > puppet configuration?
> 
> At least on a Debian 0.24.6 puppetmaster, it appears that
> you can
> examine the .yaml files in $vardir/yaml/node -- I'd
> assume that
> works for any type of defined node, not just manually
> defined ones.
> 
> -- 
> Mike Renfro  / R&D Engineer, Center for Manufacturing
> Research,
> 931 372-3601 / Tennessee Technological University
> 
> 

      

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to