path: root/manifests/profile/base/heat.pp
diff options
authorEmilien Macchi <emilien@redhat.com>2016-07-21 09:50:56 -0400
committerEmilien Macchi <emilien@redhat.com>2016-07-22 09:02:13 -0400
commit95b432e9bc6295ed9f544db6077143c2f0660165 (patch)
tree38ebbc444634965054ba4dff3919690ba1ecfea9 /manifests/profile/base/heat.pp
parent964526ba48fb8135f283dcd29d0c8a1ae3bec364 (diff)
use parameter to lookup the step instead of hiera again
In some profiles, we were looking up the $step by using Hiera again, while we already do it in the parameter definition. When using this class outside THT, it will fail but with this patch, we could use just set the $step parameter and the rest of the manifest will work. Change-Id: I7082f47204fb4e529b164e4c4f1032e7bdd88f02
Diffstat (limited to 'manifests/profile/base/heat.pp')
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/profile/base/heat.pp b/manifests/profile/base/heat.pp
index fa0e2f1..1311f20 100644
--- a/manifests/profile/base/heat.pp
+++ b/manifests/profile/base/heat.pp
@@ -44,7 +44,7 @@ class tripleo::profile::base::heat (
# Domain resources will be created at step5 on the pacemaker_master so we
# configure heat.conf at step3 and 4 but actually create the domain later.
- if hiera('step') == 3 or hiera('step') == 4 {
+ if $step == 3 or $step == 4 {
class { '::heat::keystone::domain':
manage_domain => false,
manage_user => false,