This is a monster patch that finally gets the iterative pkg auto edges working the way they should. For each file, as soon as one matches, we don't want to keep add dependencies on other file objects under that tree structure. This reduces the number of necessary edges considerably, and allows the graph to run more concurrently.
25 lines
380 B
YAML
25 lines
380 B
YAML
---
|
|
graph: mygraph
|
|
resources:
|
|
file:
|
|
- name: file1
|
|
meta:
|
|
autoedge: true
|
|
path: "/etc/drbd.conf"
|
|
content: |
|
|
# this is an mgmt test
|
|
state: exists
|
|
- name: file2
|
|
meta:
|
|
autoedge: true
|
|
path: "/tmp/foo/"
|
|
content: |
|
|
i am f2
|
|
state: exists
|
|
pkg:
|
|
- name: drbd-utils
|
|
meta:
|
|
autoedge: true
|
|
state: installed
|
|
edges: []
|