Selaa lähdekoodia
Merge pull request #208 from pavel-z1/directory_pillar_verification
Add verification that directory pillar is not empty
pull/209/head
Filip Pytloun
5 vuotta sitten
vanhempi
commit
586ba89bf9
No account linked to committer's email address
1 muutettua tiedostoa jossa
2 lisäystä ja
0 poistoa
-
linux/system/directory.sls
|
|
@@ -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 %} |