Closed sermo-de-arboribus closed 3 years ago
The syntax
exist_userpass_map[inventory_hostname][exist_instname].iteritems()
that is used in the users-and-groups.xql.j2 template, is invalid in Python 3. Replacing it with item() makes it work in Python 2 and 3.
item()
The syntax
exist_userpass_map[inventory_hostname][exist_instname].iteritems()
that is used in the users-and-groups.xql.j2 template, is invalid in Python 3. Replacing it with
item()
makes it work in Python 2 and 3.