Skip to content

Support RedHat Family - #35

Open
Poil wants to merge 7 commits into
salt-formulas:masterfrom
Poil:redhat
Open

Support RedHat Family#35
Poil wants to merge 7 commits into
salt-formulas:masterfrom
Poil:redhat

Conversation

@Poil

@Poil Poil commented Nov 27, 2018

Copy link
Copy Markdown

Support RedHat Family

Comment thread grafana/init.sls
{%- if pillar.grafana is defined %}
include:
{%- if grains['os_family'] == 'RedHat' %}
- grafana.repo.redhat

Copy link
Copy Markdown
Member

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.

@Poil

Poil commented Nov 28, 2018

Copy link
Copy Markdown
Author

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 grafana.manage_repo to manage or not the official grafana repository. What do you think about this ?

Best regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants