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/base/pacemaker.pp | |
parent | dfd3617f5fa975e74fac4dfc1d17632d2825dd8b (diff) | |
parent | da4bcee4d65cf2e0d48eab03a4a9582e3806238e (diff) |
Merge "Write restart flags to restart services only when necessary"
Diffstat (limited to 'manifests/profile/base/pacemaker.pp')
-rw-r--r-- | manifests/profile/base/pacemaker.pp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/manifests/profile/base/pacemaker.pp b/manifests/profile/base/pacemaker.pp index 2c70eab..0d628b5 100644 --- a/manifests/profile/base/pacemaker.pp +++ b/manifests/profile/base/pacemaker.pp @@ -75,6 +75,10 @@ class tripleo::profile::base::pacemaker ( Pacemaker::Resource::Service { op_params => 'start timeout=200s stop timeout=200s', } + + file { '/var/lib/tripleo/pacemaker-restarts': + ensure => directory, + } ~> Tripleo::Pacemaker::Resource_restart_flag<||> } if $step >= 2 { |