aboutsummaryrefslogtreecommitdiffstats
path: root/manifests/profile
diff options
context:
space:
mode:
authorAlex Schultz <aschultz@redhat.com>2017-01-09 13:31:37 -0700
committerAlex Schultz <aschultz@redhat.com>2017-01-09 14:39:41 -0700
commit079468f97a30bf57b01caedcfc1837fc7ae11ea4 (patch)
tree1eacd29cb3215fe613fd77cfcc2e0535957e20f0 /manifests/profile
parent7af9ff39e96acd306bdddcf8f6e48a20fe7ee3f0 (diff)
Rspec tests for nova profiles
This change fixes the hiera calls in the base nova profile to use the parameter rather than continue to call hiera. Additionally this change includes basic test coverage for the various nova profiles. Change-Id: If393606eeb3c39ed3a2655bd89c5c276a9cf106e
Diffstat (limited to 'manifests/profile')
-rw-r--r--manifests/profile/base/nova.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/profile/base/nova.pp b/manifests/profile/base/nova.pp
index 63adbef..dae627c 100644
--- a/manifests/profile/base/nova.pp
+++ b/manifests/profile/base/nova.pp
@@ -87,7 +87,7 @@ class tripleo::profile::base::nova (
$memcache_servers = suffix(hiera('memcached_node_ips'), ':11211')
}
- if hiera('step') >= 4 or (hiera('step') >= 3 and $sync_db) {
+ if $step >= 4 or ($step >= 3 and $sync_db) {
$messaging_use_ssl_real = sprintf('%s', bool2num(str2bool($messaging_use_ssl)))
# TODO(ccamacho): remove sprintf once we properly type the port, needs
# to be a string for the os_transport_url function.