Files
mgmt/examples/graph2.yaml
James Shubin 3a85384377 Rename type to resource (res) and service to svc
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.
2016-02-21 15:51:52 -05:00

31 lines
399 B
YAML

---
graph: mygraph
resources:
noop:
- name: noop1
file:
- name: file1
path: "/tmp/mgmt/f1"
content: |
i am f1
state: exists
svc:
- name: purpleidea
state: running
startup: enabled
edges:
- name: e1
from:
res: noop
name: noop1
to:
res: file
name: file1
- name: e2
from:
res: file
name: file1
to:
res: svc
name: purpleidea