resources: file: Allow creation of empty directories

This commit is contained in:
Mildred Ki'Lya
2017-02-16 12:27:11 +01:00
committed by James Shubin
parent a981cfa053
commit d0d62892c8
3 changed files with 51 additions and 4 deletions

View File

@@ -16,5 +16,6 @@ test -e /tmp/mgmt/f1
test -e /tmp/mgmt/f2
test -e /tmp/mgmt/f3
test ! -e /tmp/mgmt/f4
test -d /tmp/mgmt/dir1
exit $e

View File

@@ -24,6 +24,9 @@ resources:
content: |
i am f4 and i should not be here
state: absent
- name: dir1
path: "/tmp/mgmt/dir1/"
state: exists
edges:
- name: e1
from: