From 39433937a152d93996c209a1392c6cbb72f1baf9 Mon Sep 17 00:00:00 2001 From: Adam Spiers Date: Thu, 13 Mar 2014 17:02:04 +0000 Subject: [PATCH] install pacemaker-mgmt package for hb_gui to work It turns out pacemaker-mgmt must be installed *before* the openais service starts. --- attributes/default.rb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/attributes/default.rb b/attributes/default.rb index 0b9d9d8..5459595 100644 --- a/attributes/default.rb +++ b/attributes/default.rb @@ -18,9 +18,12 @@ when 'suse' default[:pacemaker][:platform][:packages] = %w(pacemaker crmsh) # pacemaker-mgmt-client provides hb_gui, which it's useful - # to run over ssh. + # to run over ssh. Note that pacemaker-mgmt needs to be installed + # *before* the openais service is started, otherwise the mgmtd + # plugin won't be forked as a child process. default[:pacemaker][:platform][:graphical_packages] = %w( - pacemaker-mgmt-client xorg-x11-xauth xorg-x11-fonts + pacemaker-mgmt pacemaker-mgmt-client + xorg-x11-xauth xorg-x11-fonts ) else Chef::Application.fatal! "FIXME: #{node.platform} platform not supported yet"