Files
mgmt/test/shell/file-owner.yaml
Mildred Ki'Lya 8c2c552164 resources: file: Implement file attributes
Add owner which must be username or uid of the file owner, group which is
the group name or gid of the file, and mode which is the octal unix file
permissions.

Add separate implementation for Go 1.6 and lower.
2017-02-14 11:55:00 -05:00

19 lines
272 B
YAML

---
graph: mygraph
resources:
file:
- name: file1
path: "/tmp/mgmt/f1"
content: |
i am f1
state: exists
owner: root
group: root
- name: file2
path: "/tmp/mgmt/f2"
content: |
i am f2
state: exists
owner: 1
group: 2