aboutsummaryrefslogtreecommitdiffstats
path: root/manifests/profile
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-01-24 14:40:22 +0000
committerGerrit Code Review <review@openstack.org>2017-01-24 14:40:22 +0000
commit09a3e10913ea5bf9489ab9b1faa165f42a47955c (patch)
tree9a411d4a72b4e057a5aa87ad6a3d843fae83a77d /manifests/profile
parent5b2913183cbb9c3d6c991c2c027abe540e4ba4f0 (diff)
parentbe7886a30443c82d7743be8cbdf0e0e2d3a1b26a (diff)
Merge "Add retries to the ::pacemaker::stonith property"
Diffstat (limited to 'manifests/profile')
-rw-r--r--manifests/profile/base/pacemaker.pp8
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