diff options
author | Jenkins <jenkins@review.openstack.org> | 2016-09-01 16:18:12 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2016-09-01 16:18:12 +0000 |
commit | 60ce868eee7a1a3369da8418c0b4cfd8ec6e3227 (patch) | |
tree | fefcb5c856f308b1eb3c473716875bb14b1c05d0 /manifests/profile/pacemaker/manila.pp | |
parent | dfd3617f5fa975e74fac4dfc1d17632d2825dd8b (diff) | |
parent | da4bcee4d65cf2e0d48eab03a4a9582e3806238e (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.pp | 6 |
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 { |