Making salt.pillar.puppet python3 compatible