Get the list of instances of a class
I'm trying to create a cron module which configure pacemaker to manage this resources.
I'd like to put all my cron task primitives into a pacemaker group. For that I need a list of all the cron task I created inside puppet in order to create this group.
Basicaly I got my cron puppet class which create an array called taskList. I'd like each instances of the cron::crontask class to add there name inside this array. Is-it possible?
Tanks a lot.