Naming the resources "type" was a stupid mistake, and is a huge source of confusion when also talking about real types. Fix this before it gets out of hand.
14 lines
168 B
YAML
14 lines
168 B
YAML
---
|
|
graph: mygraph
|
|
resources:
|
|
file:
|
|
- name: file1
|
|
path: "/tmp/mgmt/f1"
|
|
content: |
|
|
i am f1
|
|
state: exists
|
|
collect:
|
|
- res: file
|
|
pattern: ''
|
|
edges:
|