Implement a basic 'facts' system

This commit is contained in:
Andrew Dunham 2021-07-15 22:33:27 -04:00
parent a243a9a9c0
commit d77a87fb9e
2 changed files with 12 additions and 1 deletions

2
run
View file

@ -53,7 +53,7 @@ run_group() {
}
run_unit() {
/bin/sh -l -c "set -e; set -u; set -o pipefail; . ./lib; . '$(root_path)/$*'"
/bin/sh -l -c "set -e; set -u; set -o pipefail; . ./lib; test -f facts && . ./facts; . '$(root_path)/$*'"
}
log_file() {