aboutsummaryrefslogtreecommitdiffstats
path: root/spec/fixtures
diff options
context:
space:
mode:
authorAlex Schultz <aschultz@redhat.com>2016-09-21 15:21:49 -0600
committerAlex Schultz <aschultz@redhat.com>2016-09-30 15:12:05 -0600
commit1c725dd46f37e2b21d5e1dece467e4f5567bd761 (patch)
tree2bc17f542e82be8c8eb1cc1d24c6f84d11346e59 /spec/fixtures
parent1e26963bef085c7ec16b342594da6286235fe7da (diff)
Add aodh profile rspec testing
This change adds rspec testing for the aodh profile and serves as an example as to how to add in spec testing using hieradata to provide some required parameters. This testing adds improved coverage for expectations around computed configuration items as well as for conditions around the steps within the tripleo deployment Change-Id: Ic763a544289a222fea97020a98821c1e375651a3
Diffstat (limited to 'spec/fixtures')
-rw-r--r--spec/fixtures/hiera.yaml2
-rw-r--r--spec/fixtures/hieradata/default.yaml7
2 files changed, 8 insertions, 1 deletions
diff --git a/spec/fixtures/hiera.yaml b/spec/fixtures/hiera.yaml
index 1dc3360..d5368e9 100644
--- a/spec/fixtures/hiera.yaml
+++ b/spec/fixtures/hiera.yaml
@@ -4,4 +4,4 @@
:yaml:
:datadir: './spec/fixtures/hieradata'
:hierarchy:
- - default
+ - 'default'
diff --git a/spec/fixtures/hieradata/default.yaml b/spec/fixtures/hieradata/default.yaml
index 0d0c944..7a57a15 100644
--- a/spec/fixtures/hieradata/default.yaml
+++ b/spec/fixtures/hieradata/default.yaml
@@ -1,3 +1,10 @@
+---
my_hash:
network: '127.0.0.1'
not_hash: string
+# aodh profile required hieradata
+aodh_redis_password: 'password'
+redis_vip: '127.0.0.1'
+aodh::auth::auth_password: 'password'
+aodh::db::mysql::password: 'password'
+aodh::keystone::authtoken::password: 'password'