aboutsummaryrefslogtreecommitdiffstats
path: root/manifests/profile/pacemaker/manila.pp
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-09-01 16:18:12 +0000
committerGerrit Code Review <review@openstack.org>2016-09-01 16:18:12 +0000
commit60ce868eee7a1a3369da8418c0b4cfd8ec6e3227 (patch)
treefefcb5c856f308b1eb3c473716875bb14b1c05d0 /manifests/profile/pacemaker/manila.pp
parentdfd3617f5fa975e74fac4dfc1d17632d2825dd8b (diff)
parentda4bcee4d65cf2e0d48eab03a4a9582e3806238e (diff)
Merge "Write restart flags to restart services only when necessary"
Diffstat (limited to 'manifests/profile/pacemaker/manila.pp')
-rw-r--r--manifests/profile/pacemaker/manila.pp6
1 files changed, 6 insertions, 0 deletions
diff --git a/manifests/profile/pacemaker/manila.pp b/manifests/profile/pacemaker/manila.pp
index 37c67ab..a7f91fc 100644
--- a/manifests/profile/pacemaker/manila.pp
+++ b/manifests/profile/pacemaker/manila.pp
@@ -202,6 +202,12 @@ class tripleo::profile::pacemaker::manila (
class { '::manila::backends' :
enabled_share_backends => $manila_enabled_backends,
}
+
+ if $pacemaker_master and hiera('stack_action') == 'UPDATE' {
+ Manila_api_paste_ini<||> ~> Tripleo::Pacemaker::Resource_restart_flag["${::manila::params::share_service}"]
+ Manila_config<||> ~> Tripleo::Pacemaker::Resource_restart_flag["${::manila::params::share_service}"]
+ tripleo::pacemaker::resource_restart_flag { "${::manila::params::share_service}": }
+ }
}
if $step >= 5 and $pacemaker_master {