I would like to centralise certain aspects of our puppet infrastructure particularly for service restarts when configurations have been applied and for schedules.
For example I would like one master schedule class as below:
class {'schedules':
schedule{'night-time':
#
}
schedule{'day-time':
#
}
}
The be able to call individual resource from other modules as below:
class {'other-class':
file{'i require a schedule':
schedule => ['night-time'],
}
}
Is this possible?
Many Thanks
Andy
↧