Browse Source

Merge pull request #208 from pavel-z1/directory_pillar_verification

Add verification that directory pillar is not empty
pull/209/head
Filip Pytloun 5 years ago
parent
commit
586ba89bf9
No account linked to committer's email address
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      linux/system/directory.sls

+ 2
- 0
linux/system/directory.sls View File

{%- 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 %}

Loading…
Cancel
Save