Noop start/stop/restart action for Glance and Keystone in the roles
authorGiulio Fidente <gfidente@redhat.com>
Thu, 28 Apr 2016 21:59:14 +0000 (16:59 -0500)
committerGiulio Fidente <gfidente@redhat.com>
Wed, 4 May 2016 09:53:39 +0000 (09:53 +0000)
Change-Id: I1d95746cb990292462106c191987147eba30ee61

manifests/profile/pacemaker/glance.pp
manifests/profile/pacemaker/keystone.pp

index cb2add1..4dca67e 100644 (file)
@@ -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 {
index f2bc827..fb625e5 100644 (file)
@@ -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 {