Replace deprecated iteritems() with items()

This commit is contained in:
abednarik 2015-11-17 10:22:38 -03:00
parent 42b697d4c0
commit 01779eb50a

View file

@ -12,7 +12,7 @@
include:
- mysql.python
{% for name, user in salt['pillar.get']('mysql:user', {}).iteritems() %}
{% for name, user in salt['pillar.get']('mysql:user', {}).items() %}
{% set user_host = salt['pillar.get']('mysql:user:%s:host'|format(name)) %}
{% if user_host != '' %}