|
|
@ -45,11 +45,6 @@ cfg-get-value() { |
|
|
|
} |
|
|
|
export -f cfg-get-value |
|
|
|
|
|
|
|
yaml_get_interpret() { |
|
|
|
shyaml get-value |
|
|
|
} |
|
|
|
export -f yaml_get_interpret |
|
|
|
|
|
|
|
get_top_master_service_for_service() { |
|
|
|
local service="$1" |
|
|
|
echo "$service" |
|
|
@ -62,6 +57,12 @@ get_service_charm() { |
|
|
|
} |
|
|
|
export -f get_service_charm |
|
|
|
|
|
|
|
charm.get_dir() { |
|
|
|
local charm="$1" |
|
|
|
echo "/path/to/charm-store/$charm" |
|
|
|
} |
|
|
|
export -f charm.get_dir |
|
|
|
|
|
|
|
export CACHEDIR=$(mktemp -d -t tmp.XXXXXXXXXX) |
|
|
|
export state_tmpdir=$(mktemp -d -t tmp.XXXXXXXXXX) |
|
|
|
trap "rm -rf \"$state_tmpdir\"" EXIT |
|
|
|