aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSteve Baker <sbaker@redhat.com>2015-09-21 13:05:45 +1200
committerSteve Baker <sbaker@redhat.com>2015-10-01 15:40:55 +1300
commit3fd199d8e7fa59979a0aff7d78cce61d6cd607a8 (patch)
tree357461a9d7d2be7e342fb4f9d8d24035a84abbcc /Makefile
parent3e879e6faa94e46427c5d7b350a3734fcd5c4c02 (diff)
Make package upgrade pacemaker-aware
This change adds alternative logic for handling package updates on a pacemaker managed node. "yum list updates" is now run and this script exits early if there are no packages to update. If the pacemaker service is not running then the previous puppet logic remains, so a package update is performed which excludes packages managed by puppet, and a flag is set to indicate that puppet should perform an ensure=>latest on all packages it manages. However if the pacemaker service is running, the following occurs: - pcs cluster stop is run for this node - a full yum update is performed - pcs cluster start is run for this node - pcs status is run until the hostname for this node appears in the Online list This means that puppet is not involved in the package update process when the node is managed by pacemaker. Change-Id: I5ad118552d053dbda280978751167d9fd9da9874
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions