File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change 55{%- set tplroot = tpldir.split(' /' )[0 ] %}
66{%- from tplroot ~ " /map.jinja" import syslog_ng with context % }
77
8+ {# - Simulating `grains.osfinger`, which is avoided since not available in all distros #}
9+ {%- if [grains.os, grains.osrelease] == [' Amazon' , ' 2' ] % }
10+ syslog_ng/ package/ repo:
11+ pkgrepo.managed:
12+ - name: epel
13+ - humanname: Extra Packages for Enterprise Linux 7 - $ basearch
14+ - mirrorlist: https:// mirrors.fedoraproject.org/ metalink? repo=epel- 7 & arch=$ basearch
15+ - enabled: 1
16+ - gpgcheck: 1
17+ - gpgkey: https:// dl.fedoraproject.org/ pub/ epel/ RPM - GPG - KEY - EPEL - 7
18+ - failovermethod: priority
19+ - require_in:
20+ - pkg: syslog_ng/ package/ install
21+ {%- endif % }
22+
823syslog_ng/ package/ install:
924 pkg.installed:
1025 - name: {{ syslog_ng.package }}
You can’t perform that action at this time.
0 commit comments