Add cinder profile spec tests
authorAlex Schultz <aschultz@redhat.com>
Fri, 7 Oct 2016 21:43:37 +0000 (15:43 -0600)
committerAlex Schultz <aschultz@redhat.com>
Mon, 5 Dec 2016 15:26:55 +0000 (08:26 -0700)
commitf418c79632a7f21ff6ab11ef1715cd4a5b361789
tree90532068592ddf8bd49056826d20bb330734ff15
parent77c1ca1243fbc38210e9f6264c5c36b546d1a95a
Add cinder profile spec tests

This change adds rspec testing for the cinder profiles with in
puppet-tripleo. Additionally while testing, it was found that the
backends may incorrectly have an extra , included in the settings
for cinder volume when running puppet 3.  This change includes a fix
the cinder volume backends to make sure we are not improperly
configuring it with a trailing comma.

Change-Id: Ibdfee330413b6f9aecdf42a5508c21126fc05973
22 files changed:
manifests/profile/base/cinder/volume.pp
spec/classes/tripleo_profile_base_cinder_api_spec.rb [new file with mode: 0644]
spec/classes/tripleo_profile_base_cinder_backup_ceph_spec.rb [new file with mode: 0644]
spec/classes/tripleo_profile_base_cinder_backup_spec.rb [new file with mode: 0644]
spec/classes/tripleo_profile_base_cinder_backup_swift_spec.rb [new file with mode: 0644]
spec/classes/tripleo_profile_base_cinder_scheduler_spec.rb [new file with mode: 0644]
spec/classes/tripleo_profile_base_cinder_spec.rb [new file with mode: 0644]
spec/classes/tripleo_profile_base_cinder_volume_dellsc_spec.rb [new file with mode: 0644]
spec/classes/tripleo_profile_base_cinder_volume_eqlx_spec.rb [new file with mode: 0644]
spec/classes/tripleo_profile_base_cinder_volume_iscsi_spec.rb [new file with mode: 0644]
spec/classes/tripleo_profile_base_cinder_volume_netapp_spec.rb [new file with mode: 0644]
spec/classes/tripleo_profile_base_cinder_volume_nfs_spec.rb [new file with mode: 0644]
spec/classes/tripleo_profile_base_cinder_volume_rbd_spec.rb [new file with mode: 0644]
spec/classes/tripleo_profile_base_cinder_volume_spec.rb [new file with mode: 0644]
spec/fixtures/hiera.yaml
spec/fixtures/hieradata/default.yaml
spec/fixtures/hieradata/step1.yaml [new file with mode: 0644]
spec/fixtures/hieradata/step2.yaml [new file with mode: 0644]
spec/fixtures/hieradata/step3.yaml [new file with mode: 0644]
spec/fixtures/hieradata/step4.yaml [new file with mode: 0644]
spec/fixtures/hieradata/step5.yaml [new file with mode: 0644]
spec/fixtures/hieradata/step6.yaml [new file with mode: 0644]