Use correct pillar to set users homephonemaster
- workphone: {{ user['workphone'] }} | - workphone: {{ user['workphone'] }} | ||||
{% endif %} | {% endif %} | ||||
{% if 'homephone' in user %} | {% if 'homephone' in user %} | ||||
- homephone: {{ user['workphone'] }} | |||||
- homephone: {{ user['homephone'] }} | |||||
{% endif %} | {% endif %} | ||||
{% if not user.get('createhome', True) %} | {% if not user.get('createhome', True) %} | ||||
- createhome: False | - createhome: False |