diff --git a/templates/logrotate.d.j2 b/templates/logrotate.d.j2 index f96b9a1..db1b48c 100644 --- a/templates/logrotate.d.j2 +++ b/templates/logrotate.d.j2 @@ -7,7 +7,7 @@ {% endfor -%} {% endif %} {%- if item.scripts is defined -%} - {%- for name, script in item.scripts.iteritems() -%} + {%- for name, script in item.scripts.items() -%} {{ name }} {{ script | indent(4) }} endscript