This is a monster patch that splits out the yaml and puppet based graph generation and pushes them behind a common API. In addition alternate pluggable GAPI's can be easily added! The important side benefit is that you can now write a custom GAPI for embedding mgmt! This also includes some slight clean ups that I didn't find it worth splitting into separate patches.
8 lines
225 B
Bash
Executable File
8 lines
225 B
Bash
Executable File
#!/bin/bash -e
|
|
|
|
# should take slightly more than 35s, but fail if we take 45s)
|
|
timeout --kill-after=45s 40s ./mgmt run --yaml t5.yaml --converged-timeout=5 --no-watch --tmp-prefix &
|
|
pid=$!
|
|
wait $pid # get exit status
|
|
exit $?
|