commit | ccb634df2c09c357e2fd517d52d5ad20013aebfc | [log] [tgz] |
---|---|---|
author | Martin Polreich <polreichmartin@gmail.com> | Wed Jul 31 11:27:43 2019 +0200 |
committer | Martin Polreich <polreichmartin@gmail.com> | Wed Jul 31 11:43:03 2019 +0200 |
tree | d5a2a053e8a956ea9c8965fa2b341b4a4278a5fc | |
parent | f5c50ab4c4ea928932e1b6d430cfe7a8c6bb9ffe [diff] |
Add yaml filter to avoid parsing errors - This is required to correctly parse commands in postrotate and prerotate part of logrotate jobs Related: PROD-29848 Change-Id: Ic5c15eee232ca85537146cfbc5b79415ddab73f7
diff --git a/logrotate/server.sls b/logrotate/server.sls index b45df64..a5de796 100644 --- a/logrotate/server.sls +++ b/logrotate/server.sls
@@ -27,7 +27,7 @@ - require: - pkg: logrotate_packages - context: - jobs: {{ job }} + jobs: {{ job|yaml }} {%- endfor %}