fuel-library/deployment/puppet/umm/files/umm-run.conf
Peter Zhurba f99f7755b8 Maintenace Mode
Change-Id: Iea6c60943b0fd611b87a5c2ba9bd7a73c91fc91d
Related-Blueprint: Controller-maintenance-mode
2015-03-05 11:42:21 +02:00

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