-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support RedHat Family #35
base: master
Are you sure you want to change the base?
Conversation
@@ -1,6 +1,9 @@ | |||
|
|||
{%- if pillar.grafana is defined %} | |||
include: | |||
{%- if grains['os_family'] == 'RedHat' %} | |||
- grafana.repo.redhat |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should not setup repositories in formulas directly.
Repositories should be controlled by pillar and enforced by linux.system.repo state.
The reasoning is that one can use any repository to provide grafana package (eg. custom mirror, etc.) not only upstream one.
Hi, In most of the formulas I can find on salt-formulas, by default the official repository of the software/middleware is configured but you can disable it or change it via pillar. (MySQL, Nginx, Epel, Rundeck, Foreman, Varnish) So I propose to add Best regards |
Support RedHat Family