Commit 96a1ae38 authored by peter's avatar peter

Merge branch 'nginx_repo_rhel' into 'master'

NGINX repo addition for RHEL

See merge request !85
parents b8bb03e4 17981247
......@@ -54,7 +54,11 @@ onlyoffice_gpg:
nginx_repo:
pkgrepo.managed:
- humanname: nginx repo
{% if salt['grains.get']('os') == "RedHat" %}
- baseurl: http://nginx.org/packages/rhel/{{ salt['grains.get']('osmajorrelease') }}/$basearch/
{% else %}
- baseurl: http://nginx.org/packages/{{ salt['grains.get']('os') | lower }}/{{ salt['grains.get']('osmajorrelease') }}/$basearch/
{% endif %}
- gpgcheck: 0
{% endif %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment