commit | 275fbfe55ee063fc5ae0ec9b9423bac2d94f63fd | [log] [tgz] |
---|---|---|
author | psvimbersky <psvimbersky@mirantis.com> | Tue Jun 05 15:50:59 2018 +0200 |
committer | psvimbersky <psvimbersky@mirantis.com> | Tue Jun 05 15:50:59 2018 +0200 |
tree | 4077da79f10e76a3dd7b5307914d66965b1c2aef | |
parent | 0e8b48567ff6b608f8937f1be20ea4bd4acc6aa1 [diff] |
Add state for contrainer directories Change-Id: Ie780a8b608669c36035424b2a123ae07fa749cfc
diff --git a/opencontrail/common.sls b/opencontrail/common.sls index e2f6608..a896080 100644 --- a/opencontrail/common.sls +++ b/opencontrail/common.sls
@@ -129,3 +129,12 @@ {%- endif %} {%- endif %} + +{%- if common.version == 4.0 and common.contrainer_folders is defined %} +{%- for dir in common.contrainer_folders %} +{{ dir }}: + file.directory: + - user: root + - group: root +{%- endfor %} +{%- endif %}