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

@@ -1,5 +1,6 @@
{%- from "linux/map.jinja" import system with context %}

{%- if system.directory is defined %}
{%- for name, dir in system.directory.items() %}

{{ dir.name|default(name) }}:
@@ -13,3 +14,4 @@
{%- endif %}

{%- endfor %}
{% endif %}

Loading…
Cancel
Save