{%- for directive, dvalue in salt['pillar.get']('apache:global', {}).items() %} {{ directive }} {{ dvalue }} {%- endfor %}