Moves the swift start/stop into the common_functions.sh file
authormarios <marios@redhat.com>
Wed, 2 Mar 2016 16:31:51 +0000 (18:31 +0200)
committermarios <marios@redhat.com>
Wed, 2 Mar 2016 16:31:51 +0000 (18:31 +0200)
commit31b884a2a8749452ebd2923f6a97c5d2bec5aa9d
tree8918f8510b99b83dc192da2b42d4e5a0918058e6
parenta54e0b973b296204139d6ff2816902ee96f0b309
Moves the swift start/stop into the common_functions.sh file

Since swift isn't managed by pacemaker we need to manually (systemctl)
stop and start the swift services. This moves the duplicate blocks for
start/stop into a common function (we already include that
pacemaker_common_functions.sh here so may as well)

Change-Id: Ic4f23212594c1bf9edc39143bf60c7f6d648fd1d
extraconfig/tasks/major_upgrade_controller_pacemaker_1.sh
extraconfig/tasks/major_upgrade_controller_pacemaker_2.sh
extraconfig/tasks/pacemaker_common_functions.sh