Files
mgmt/examples/graph1.yaml
James Shubin 25ad05cce3 Initial public commit of mgmt
This is a prototype that i'm attempting to "release early". Expect a lot
of changes! It is intended to be a config management tool that will:

* be event based
* execute actions in parallel
* function as a distributed system

There are a bunch more design ideas going into this, please stay tuned!
2015-09-25 01:16:03 -04:00

42 lines
608 B
YAML

---
graph: mygraph
types:
noop:
- name: noop1
file:
- name: file1
path: /tmp/mgmt/f1
content: |
i am f1
state: exists
- name: file2
path: /tmp/mgmt/f2
content: |
i am f2
state: exists
- name: file3
path: /tmp/mgmt/f3
content: |
i am f3
state: exists
- name: file4
path: /tmp/mgmt/f4
content: |
i am f4 and i should not be here
state: absent
edges:
- name: e1
from:
type: file
name: file1
to:
type: file
name: file2
- name: e2
from:
type: file
name: file2
to:
type: file
name: file3