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:
parent
6e9c1f50a3
commit
593503e351
@ -26,8 +26,9 @@
|
||||
class tripleo::profile::base::heat::api (
|
||||
$step = hiera('step'),
|
||||
) {
|
||||
include ::tripleo::profile::base::heat
|
||||
|
||||
if $step >= 4 {
|
||||
include ::tripleo::profile::base::heat
|
||||
include ::heat::api
|
||||
}
|
||||
}
|
||||
|
@ -26,8 +26,9 @@
|
||||
class tripleo::profile::base::heat::api_cfn (
|
||||
$step = hiera('step'),
|
||||
) {
|
||||
include ::tripleo::profile::base::heat
|
||||
|
||||
if $step >= 4 {
|
||||
include ::tripleo::profile::base::heat
|
||||
include ::heat::api_cfn
|
||||
}
|
||||
}
|
||||
|
@ -26,8 +26,9 @@
|
||||
class tripleo::profile::base::heat::api_cloudwatch (
|
||||
$step = hiera('step'),
|
||||
) {
|
||||
include ::tripleo::profile::base::heat
|
||||
|
||||
if $step >= 4 {
|
||||
include ::tripleo::profile::base::heat
|
||||
include ::heat::api_cloudwatch
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user