Re: [Puppet Users] moving to ENC - how to get all current classes and params

2013-11-05 Thread Jeff Behl
I saw classes.txt, but it's just listing the classes and not the parameters 
that were passed to them..

On Thursday, October 31, 2013 10:52:28 AM UTC-7, Jo wrote:

 $statedir/classes.txt and related files?

 On Oct 30, 2013, at 12:21 PM, Jeff Behl jb...@logicmonitor.comjavascript: 
 wrote:

 I'm looking to use an external node classifier (ENC) in our environment. 
  What's the easiest way to programmatically get currently applied classes 
 (and class parameters) for all hosts, with the goal of dumping it into a 
 database for later retrieval by the ENC script?  Nodes are currently 
 classified via site.pp.

 thanks


 -- 
 You received this message because you are subscribed to the Google Groups 
 Puppet Users group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to puppet-users...@googlegroups.com javascript:.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/puppet-users/6d0da08e-9ae3-4d1e-a362-701340e51192%40googlegroups.com
 .
 For more options, visit https://groups.google.com/groups/opt_out.


 -- 
 Jo Rhett
 Net Consonance : net philanthropy to improve open source and 
 internet projects.

 Author of Instant Puppet 3 Starter: 
 http://www.netconsonance.com/instant-puppet-3-starter-book/


  


-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/7aa8893c-1686-422d-bcdd-56d0a64cfeac%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[Puppet Users] moving to ENC - how to get all current classes and params

2013-10-30 Thread Jeff Behl
I'm looking to use an external node classifier (ENC) in our environment. 
 What's the easiest way to programmatically get currently applied classes 
(and class parameters) for all hosts, with the goal of dumping it into a 
database for later retrieval by the ENC script?  Nodes are currently 
classified via site.pp.

thanks

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/6d0da08e-9ae3-4d1e-a362-701340e51192%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.