Add verification that directory pillar is not emptypull/209/head
{%- from "linux/map.jinja" import system with context %} | {%- from "linux/map.jinja" import system with context %} | ||||
{%- if system.directory is defined %} | |||||
{%- for name, dir in system.directory.items() %} | {%- for name, dir in system.directory.items() %} | ||||
{{ dir.name|default(name) }}: | {{ dir.name|default(name) }}: | ||||
{%- endif %} | {%- endif %} | ||||
{%- endfor %} | {%- endfor %} | ||||
{% endif %} |