You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@cdenneen Hmmm, with this type of use case I think the better and cleaner alternative is to manage the yumrepo resource yourself using the $repo_class parameter. This kind of approach is more or less consistent with how upstream repository configuration is included with modules elsewhere. If you're using a virtual repository manager like Nexus, Artifactory etc or simply want to manage repositories outside of this module setting $manage_package_repo to false is an option as well.
This allows for you to setup an internal mirror of the external resource but allows for the "suffix" naming changes as needed by the module to account for upstream to continue to work as expected.
I can have it unmanage the repo and do outside the class but it would be useful to have as parameter.
Allowing for mirrors this needs the ability to override.
Having to do something like this is really bad:
Yumrepo<| title == 'nodesource' |> { baseurl = "https://mirror...."}
Yumrepo<| title == 'nodesource-source' |> { baseurl = "https://mirror...."}
The text was updated successfully, but these errors were encountered: