diff options
Diffstat (limited to 'manifests/profile/base/keepalived.pp')
-rw-r--r-- | manifests/profile/base/keepalived.pp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/manifests/profile/base/keepalived.pp b/manifests/profile/base/keepalived.pp index af7c095..f2063d6 100644 --- a/manifests/profile/base/keepalived.pp +++ b/manifests/profile/base/keepalived.pp @@ -18,25 +18,23 @@ # # === Parameters # +# [*enable_load_balancer*] +# (Optional) Whether or not loadbalancer is enabled. +# Defaults to hiera('enable_load_balancer', true). +# # [*step*] # (Optional) The current step in deployment. See tripleo-heat-templates # for more details. # Defaults to hiera('step') # -# [*enable_load_balancer*] -# (Optional) Whether or not loadbalancer is enabled. -# Defaults to hiera('enable_load_balancer', true). -# class tripleo::profile::base::keepalived ( $enable_load_balancer = hiera('enable_load_balancer', true), $step = hiera('step'), ) { - if $step >= 1 { if $enable_load_balancer and hiera('enable_keepalived', true){ include ::tripleo::keepalived } } - } |