Running uninstaller script when removing class?
An interesting requirement that I am not sure how to handle. I have a class that does an installation on nodes, in some cases I am asked to later remove the class and the software. I want to be able to run some sort of an cleanup script on the node when the class is removed, is there a way to do so? An alternate way will be to prepare an cleanup class that will deploy do the removal but I wanted to if there is a more elegant solution (run cleanup script on removal of class that is a part of the original class itself).