Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all articles
Browse latest Browse all 6104

Is is possible to call a resource from another class

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

Viewing all articles
Browse latest Browse all 6104

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>