Define Puppet Run Stages In RedHat Satellite

Latest response

Our Puppet environment requires that a certain group of modules be run before others. Right now we accomplish this by creating a separate "Master" module that simply calls our modules in the correct "Run Stages". However we would like to switch from this to the more modular system that satellite currently employs by assigning individual modules to machines ( or through config / host groups). The question I want to know is if anyone else has implemented "Run stages" or something similar while maintaining the modularity of single module assignment.

P.s We currently use satellite 6.3 if that is of importance.

Responses

I would try to build proper module dependencies and not use stages. That way puppet can order the execution automatically. Also means you don't need a "master" module to call other modules in correct stages, you can simply use the modules directly.

https://puppet.com/docs/puppet/5.3/lang_relationships.html