From 6c3292430d66e371408132b01b2067029ddaf838 Mon Sep 17 00:00:00 2001 From: Gilles Dartiguelongue Date: Tue, 14 Feb 2017 17:45:52 +0100 Subject: [PATCH] Fix retrieving configuration from pillar --- logrotate/templates/logrotate.conf.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logrotate/templates/logrotate.conf.tmpl b/logrotate/templates/logrotate.conf.tmpl index 2cd769d..49b183b 100644 --- a/logrotate/templates/logrotate.conf.tmpl +++ b/logrotate/templates/logrotate.conf.tmpl @@ -1,5 +1,5 @@ {%- from "logrotate/map.jinja" import logrotate with context -%} -{%- set config = pillar.get('logrotate:default_config', logrotate.default_config) -%} +{%- set config = salt['pillar.get']('logrotate:default_config', logrotate.default_config) -%} {%- set processed_parameters = [] -%}