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

View File

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

View File

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