We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 502e45b commit ae6375cCopy full SHA for ae6375c
nginx/pkg.sls
@@ -113,6 +113,22 @@ nginx_zypp_repo:
113
{% endif %}
114
115
{% if salt['grains.get']('os_family') == 'RedHat' %}
116
+{% if salt['grains.get']('osfinger', '') in ['Amazon Linux-2'] %}
117
+nginx_epel_repo:
118
+ pkgrepo.managed:
119
+ - name: epel
120
+ - humanname: Extra Packages for Enterprise Linux 7 - $basearch
121
+ - mirrorlist: https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch
122
+ - enabled: 1
123
+ - gpgcheck: 1
124
+ - gpgkey: https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7
125
+ - failovermethod: priority
126
+ - require_in:
127
+ - pkg: nginx_install
128
+ - watch_in:
129
130
+{% endif %}
131
+
132
nginx_yum_repo:
133
pkgrepo:
134
{%- if from_official %}
0 commit comments