----- Original Message -----
> From: "Nick Cammorato" <nick_cammor...@terc.edu>
> To: puppet-users@googlegroups.com
> Sent: Thursday, July 12, 2012 5:35:28 PM
> Subject: [Puppet Users] Using catalog inventory/Puppet::Resource::Catalog?
> 
> I'd like to be able to get a list of all of the classes being applied
> to my nodes and insert this as a list into mcollective's facts.yaml
> file. The reason for this is that I have a couple post-commit hooks
> that parse out changes to specific modules/classes for changelog
> purposes and I'm considering adding in a call to mco find to include
> a list of affected nodes in the report. Which means the facts need
> to be there to be found.

mcollective already knows what classes are on a host, you can access it
on the cli:

mco rpc rpcutil inventory -I some.host

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