Include heat base profile outside of step

The base profile can already take the steps into account. so it's not
necessary to include it inside the if statement.

Change-Id: I7b22063db7ff4807242cc0e353dccc34be848b8d
This commit is contained in:
Juan Antonio Osorio Robles 2016-08-09 08:47:28 +03:00
parent 6e9c1f50a3
commit 593503e351
4 changed files with 8 additions and 4 deletions

View File

@ -26,8 +26,9 @@
class tripleo::profile::base::heat::api (
$step = hiera('step'),
) {
if $step >= 4 {
include ::tripleo::profile::base::heat
if $step >= 4 {
include ::heat::api
}
}

View File

@ -26,8 +26,9 @@
class tripleo::profile::base::heat::api_cfn (
$step = hiera('step'),
) {
if $step >= 4 {
include ::tripleo::profile::base::heat
if $step >= 4 {
include ::heat::api_cfn
}
}

View File

@ -26,8 +26,9 @@
class tripleo::profile::base::heat::api_cloudwatch (
$step = hiera('step'),
) {
if $step >= 4 {
include ::tripleo::profile::base::heat
if $step >= 4 {
include ::heat::api_cloudwatch
}
}

View File

@ -37,12 +37,13 @@ class tripleo::profile::base::heat::engine (
$sync_db = false
}
include ::tripleo::profile::base::heat
if $step >= 3 and $sync_db {
include ::heat::db::mysql
}
if $step >= 4 or ( $step >= 3 and $sync_db ) {
include ::tripleo::profile::base::heat
include ::heat::engine
}