bfraser / puppet-grafana

Puppet module to manage Grafana
Apache License 2.0
39 stars 204 forks source link

Added switch for RedHat 6/7 Repo Support #111

Open lthaele opened 7 years ago

lthaele commented 7 years ago

Hi *,

we are using CentOS 7 and at the moment el/6/ is hard coded. Adding $::operatingsystemrelease fixes the issue for us.

Regards Lüder Thaele

adamcstephens commented 7 years ago

Does an el7 repo actually exist? The install docs still only reference an el6 repo: http://docs.grafana.org/installation/rpm/

lthaele commented 7 years ago

Hi *,

the switch was needed as a Redhat 7 System could not install using the manage_package_repo method without it. I dont remember the exact error message. The repo for https://packagecloud.io/grafana/stable/el/7 has existed at the time i made the fix. ( It was still a 3.1.1 ) . I havent tried it since as the systems are no productive. I presume that the packet itself might not differ between 6 and 7.

Regards Lueder Thaele