Split pacemaker common check_service function out of _restart.sh
authorGiulio Fidente <gfidente@redhat.com>
Tue, 22 Dec 2015 11:06:55 +0000 (12:06 +0100)
committerJiri Stransky <jistr@redhat.com>
Tue, 26 Jan 2016 14:21:24 +0000 (15:21 +0100)
commit9e5bc6593898e4a400797ab5d3a74db7b4746329
tree83097c57e0f20dda1aa1e9a6c8a15cf23140159a
parent2a9985459b1ef76cfc410e79417a0d6292670387
Split pacemaker common check_service function out of _restart.sh

Also split out echo_error function to DRY the error output code and
allow changing the way we report errors in a single place.

Change-Id: I448bf0eb49390f03155335736bb4ab4e979db128
Co-Authored-By: Jiri Stransky <jistr@redhat.com>
extraconfig/tasks/pacemaker_common_functions.sh [new file with mode: 0755]
extraconfig/tasks/pacemaker_resource_restart.sh
extraconfig/tasks/post_puppet_pacemaker.yaml