install pacemaker-mgmt package for hb_gui to work

It turns out pacemaker-mgmt must be installed *before* the openais
service starts.
This commit is contained in:
Adam Spiers
2014-03-13 17:02:04 +00:00
parent aca5a0f132
commit 39433937a1

View File

@@ -18,9 +18,12 @@ when 'suse'
default[:pacemaker][:platform][:packages] = %w(pacemaker crmsh) default[:pacemaker][:platform][:packages] = %w(pacemaker crmsh)
# pacemaker-mgmt-client provides hb_gui, which it's useful # 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( 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 else
Chef::Application.fatal! "FIXME: #{node.platform} platform not supported yet" Chef::Application.fatal! "FIXME: #{node.platform} platform not supported yet"