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.
21 lines
301 B
YAML
21 lines
301 B
YAML
---
|
|
graph: mygraph
|
|
comment: hello world example
|
|
resources:
|
|
noop:
|
|
- name: noop1
|
|
file:
|
|
- name: file1
|
|
path: "/tmp/mgmt-hello-world"
|
|
content: |
|
|
hello world from @purpleidea
|
|
state: exists
|
|
edges:
|
|
- name: e1
|
|
from:
|
|
res: noop
|
|
name: noop1
|
|
to:
|
|
res: file
|
|
name: file1
|