diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-01-24 14:40:22 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-01-24 14:40:22 +0000 |
commit | 09a3e10913ea5bf9489ab9b1faa165f42a47955c (patch) | |
tree | 9a411d4a72b4e057a5aa87ad6a3d843fae83a77d /manifests/profile | |
parent | 5b2913183cbb9c3d6c991c2c027abe540e4ba4f0 (diff) | |
parent | be7886a30443c82d7743be8cbdf0e0e2d3a1b26a (diff) |
Merge "Add retries to the ::pacemaker::stonith property"
Diffstat (limited to 'manifests/profile')
-rw-r--r-- | manifests/profile/base/pacemaker.pp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/manifests/profile/base/pacemaker.pp b/manifests/profile/base/pacemaker.pp index 671f1e7..a5a2ccd 100644 --- a/manifests/profile/base/pacemaker.pp +++ b/manifests/profile/base/pacemaker.pp @@ -23,8 +23,13 @@ # for more details. # Defaults to hiera('step') # +# [*pcs_tries*] +# (Optional) The number of times pcs commands should be retried. +# Defaults to hiera('pcs_tries', 20) +# class tripleo::profile::base::pacemaker ( - $step = hiera('step'), + $step = hiera('step'), + $pcs_tries = hiera('pcs_tries', 20), ) { Pcmk_resource <| |> { tries => 10, @@ -58,6 +63,7 @@ class tripleo::profile::base::pacemaker ( } class { '::pacemaker::stonith': disable => !$enable_fencing, + tries => $pcs_tries, } if $enable_fencing { include ::tripleo::fencing |