Clean up the distributed example for clarity

This commit is contained in:
James Shubin
2016-01-10 02:30:05 -05:00
parent ebc1c60063
commit 1c49bbc487
3 changed files with 15 additions and 15 deletions

View File

@@ -5,28 +5,28 @@ types:
- name: noop1a
file:
- name: file1a
path: "/tmp/mgmt1/f1a"
path: "/tmp/mgmtA/f1a"
content: |
i am f1
state: exists
- name: file2a
path: "/tmp/mgmt1/f2a"
path: "/tmp/mgmtA/f2a"
content: |
i am f2
state: exists
- name: "@@file3a"
path: "/tmp/mgmt1/f3a"
path: "/tmp/mgmtA/f3a"
content: |
i am f3, exported from host A
state: exists
- name: "@@file4a"
path: "/tmp/mgmt1/f4a"
path: "/tmp/mgmtA/f4a"
content: |
i am f4, exported from host A
state: exists
collect:
- type: file
pattern: "/tmp/mgmt1/"
pattern: "/tmp/mgmtA/"
edges:
- name: e1
from:

View File

@@ -5,28 +5,28 @@ types:
- name: noop1b
file:
- name: file1b
path: "/tmp/mgmt2/f1b"
path: "/tmp/mgmtB/f1b"
content: |
i am f1
state: exists
- name: file2b
path: "/tmp/mgmt2/f2b"
path: "/tmp/mgmtB/f2b"
content: |
i am f2
state: exists
- name: "@@file3b"
path: "/tmp/mgmt2/f3b"
path: "/tmp/mgmtB/f3b"
content: |
i am f3, exported from host B
state: exists
- name: "@@file4b"
path: "/tmp/mgmt2/f4b"
path: "/tmp/mgmtB/f4b"
content: |
i am f4, exported from host B
state: exists
collect:
- type: file
pattern: "/tmp/mgmt2/"
pattern: "/tmp/mgmtB/"
edges:
- name: e1
from:

View File

@@ -5,28 +5,28 @@ types:
- name: noop1c
file:
- name: file1c
path: "/tmp/mgmt3/f1c"
path: "/tmp/mgmtC/f1c"
content: |
i am f1
state: exists
- name: file2c
path: "/tmp/mgmt3/f2c"
path: "/tmp/mgmtC/f2c"
content: |
i am f2
state: exists
- name: "@@file3c"
path: "/tmp/mgmt3/f3c"
path: "/tmp/mgmtC/f3c"
content: |
i am f3, exported from host C
state: exists
- name: "@@file4c"
path: "/tmp/mgmt3/f4c"
path: "/tmp/mgmtC/f4c"
content: |
i am f4, exported from host C
state: exists
collect:
- type: file
pattern: "/tmp/mgmt3/"
pattern: "/tmp/mgmtC/"
edges:
- name: e1
from: