Closed bodgit closed 5 years ago
Set custom tags on both the yumrepo
and package
resources in the module and chain them that way. We can't rely on the tags such as the module name alone as if someone creates a profile::yum
class, that would also be tagged as yum
and potentially create circular dependencies.
Scenario is a host where the default repo configurations won't work so in order to install any plugins the repo configurations need to be required before any plugin packages. Also, due to using stages the standard
yum::clean
class can't be used as it could theoretically be notified across a stage boundary which is verboten.