From bbe7f42cfdaaf8c5398ffd00b1ca77d2ec7a02bf Mon Sep 17 00:00:00 2001 From: Giulio Fidente Date: Thu, 28 Apr 2016 16:59:14 -0500 Subject: Noop start/stop/restart action for Glance and Keystone in the roles Change-Id: I1d95746cb990292462106c191987147eba30ee61 --- manifests/profile/pacemaker/glance.pp | 7 +++++++ manifests/profile/pacemaker/keystone.pp | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/manifests/profile/pacemaker/glance.pp b/manifests/profile/pacemaker/glance.pp index cb2add1..4dca67e 100644 --- a/manifests/profile/pacemaker/glance.pp +++ b/manifests/profile/pacemaker/glance.pp @@ -62,6 +62,13 @@ class tripleo::profile::pacemaker::glance ( $glance_file_pcmk_options = hiera('glance_file_pcmk_options', ''), ) { + Service <| tag == 'glance-service' |> { + hasrestart => true, + restart => '/bin/true', + start => '/bin/true', + stop => '/bin/true', + } + if $::hostname == downcase($bootstrap_node) { $pacemaker_master = true } else { diff --git a/manifests/profile/pacemaker/keystone.pp b/manifests/profile/pacemaker/keystone.pp index f2bc827..fb625e5 100644 --- a/manifests/profile/pacemaker/keystone.pp +++ b/manifests/profile/pacemaker/keystone.pp @@ -37,6 +37,13 @@ class tripleo::profile::pacemaker::keystone ( $enable_load_balancer = hiera('enable_load_balancer', true) ) { + Service <| tag == 'keystone-service' |> { + hasrestart => true, + restart => '/bin/true', + start => '/bin/true', + stop => '/bin/true', + } + if $::hostname == downcase($bootstrap_node) { $pacemaker_master = true } else { -- cgit 1.2.3-korg