Fix nova and selinux unit tests
authorAlex Schultz <aschultz@redhat.com>
Thu, 27 Jul 2017 18:54:30 +0000 (12:54 -0600)
committerAlex Schultz <aschultz@redhat.com>
Thu, 27 Jul 2017 18:54:30 +0000 (12:54 -0600)
commit237e613a175fd975bf6679646eaf092ff6725015
treed573a1e4b144486d18891ee254529fa86ee04634
parentab8167978569041e79fd9edbfd66359b528116cd
Fix nova and selinux unit tests

The unit tests jobs are failing because of missing pre conditions for
the new shared class introduced by
Ib233689fdcdda391596d01a21f77bd8e1672ae04.  Additionally this change
moved some classes around so that the tests are now failing due to
duplicate class declarations for nova::compute::libvirt::services. This
change moves the include that pulls in the declaration first prior to
the include that exists in tripleo::profile::base::nova::libvirt.

The selinux test was also failing due to a type issue with the fact
being used (boolean vs string)

Change-Id: I5bd4b61d6008820729d58f7743e7e61955dd6f51
Closes-Bug: #1707034
manifests/profile/base/nova/libvirt.pp
spec/classes/tripleo_profile_base_nova_compute_libvirt_spec.rb
spec/classes/tripleo_profile_base_nova_libvirt_spec.rb
spec/classes/tripleo_selinux_spec.rb