This allows for resources to automatically add necessary edges to the graph so that the event system doesn't have to work overtime due to sub-optimal execution order.
20 lines
286 B
YAML
20 lines
286 B
YAML
---
|
|
graph: mygraph
|
|
resources:
|
|
file:
|
|
- name: file1
|
|
meta:
|
|
autoedge: true
|
|
path: "/tmp/foo/bar/f1"
|
|
content: |
|
|
i am f1
|
|
state: exists
|
|
- name: file2
|
|
meta:
|
|
autoedge: true
|
|
path: "/tmp/foo/"
|
|
content: |
|
|
i am f2
|
|
state: exists
|
|
edges: []
|