Pārlūkot izejas kodu
Merge pull request #208 from pavel-z1/directory_pillar_verification
Add verification that directory pillar is not empty
pull/209/head
Filip Pytloun
pirms 5 gadiem
vecāks
revīzija
586ba89bf9
Revīzijas autora e-pasta adrese nav piesaistīta nevienam kontam
1 mainītis faili ar
2 papildinājumiem un
0 dzēšanām
-
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 %} |