Recently we have been changing out some software that was deployed via 
tarball extractions. Now we have a different app that deploys via RPM. To 
not break the legacy hosts where the new software doesn't we created a 
whole new class for deployments and setups on the new software.

I've Googled, dug through forum posts and looked into a lot f modules, but 
couldn't find anyway to make what i would like to see if it is possible to 
do. 

Is there a way do a cleanup on removing the class? Ideally it would be nice 
to have some way to cleanup as well as check to be sure it is cleaned up if 
it doesn't have the class. 

I tried to write a class to do something like this for a specific set of 
classes to see if host has them as part of their catalog. Somewhere deep in 
my memory I think I remember there being a way to access the classes using 
a built-in call, but can;t seem to find it. I know I can reference 
the /opt/puppetlabs/puppet/cache/state/classes.txt file, but i was trying 
to be sure that the data was accurate by pulling off the master. 

   Thanks! 

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-dev/ededc7b7-c4cd-4820-bd72-be9103753b72%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to