File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -26,3 +26,8 @@ Install the ``sylog-ng`` package.
2626Install and configure the ``syslog-ng `` package.
2727
2828note: if the first character of a string is '=' the string is treated as a literal (not ecapsulated in quotes)
29+
30+ ``syslog_ng.packages ``
31+ -----------
32+
33+ Install optional packages which may provide additional functionality.
Original file line number Diff line number Diff line change 1+ {% from " syslog_ng/map.jinja" import syslog_ng with context % }
2+
3+
4+ include:
5+ - syslog_ng
6+
7+ {%- if syslog_ng.packages is defined and syslog_ng.packages % }
8+ syslog_ng_packages:
9+ pkg.installed:
10+ - pkgs:
11+ {%- for pkg in syslog_ng.packages % }
12+ - {{ pkg.name }}{% if pkg.version is defined and pkg.version % }: ' {{ pkg.version }} ' {% endif % }
13+ {%- endfor % }
14+ - watch_in:
15+ - service: syslog_ng
16+ {%- endif % }
You can’t perform that action at this time.
0 commit comments