resources: file: Allow creation of empty directories
This commit is contained in:
committed by
James Shubin
parent
a981cfa053
commit
d0d62892c8
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user