8d138e0e0d
Move umm related file from puppet to a package and change deploing process Change-Id: I466d89158fab523981ea002e83933696284a11ac Closes-bug:#1508274
18 lines
346 B
Plaintext
18 lines
346 B
Plaintext
# umm-run - UMM command executert.
|
|
#
|
|
|
|
description "Openstack maintenance mode - custom command executer"
|
|
author "pzhurba@mirantis.com"
|
|
|
|
script
|
|
|
|
. /usr/lib/umm/umm_vars
|
|
|
|
if [ -f $UMM_DATA/UMM_CMD ] ; then
|
|
cmd=$(cat $UMM_DATA/UMM_CMD )
|
|
rm $UMM_DATA/UMM_CMD
|
|
exec $cmd &> $UMM_DATA/UMM_CMD.out
|
|
fi
|
|
|
|
end script
|