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.
29 lines
510 B
YAML
29 lines
510 B
YAML
---
|
|
graph: mygraph
|
|
resources:
|
|
file:
|
|
- name: file1b
|
|
path: "/tmp/mgmtB/f1b"
|
|
content: |
|
|
i am f1
|
|
state: exists
|
|
- name: file2b
|
|
path: "/tmp/mgmtB/f2b"
|
|
content: |
|
|
i am f2
|
|
state: exists
|
|
- name: "@@file3b"
|
|
path: "/tmp/mgmtB/f3b"
|
|
content: |
|
|
i am f3, exported from host B
|
|
state: exists
|
|
- name: "@@file4b"
|
|
path: "/tmp/mgmtB/f4b"
|
|
content: |
|
|
i am f4, exported from host B
|
|
state: exists
|
|
collect:
|
|
- res: file
|
|
pattern: "/tmp/mgmtB/"
|
|
edges: []
|