From 8a154df52af7ba21e468806618e88316c0bc90d7 Mon Sep 17 00:00:00 2001 From: Alex Schultz Date: Thu, 27 Jul 2017 12:54:30 -0600 Subject: [PATCH] Fix selinux unit tests The selinux test was also failing due to a type issue with the fact being used (boolean vs string) Also pin systemd to match rdo for newton. Change-Id: I36b3b4494f2086daeb574330ce21b19598650aa0 Closes-Bug: #1707243 Closes-Bug: #1710683 (cherry picked from commit f175a6e2820b0f05eca15f882b3b271b99790774) --- Puppetfile_extras | 2 +- spec/classes/tripleo_selinux_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Puppetfile_extras b/Puppetfile_extras index f6e9d702c..72112aa35 100644 --- a/Puppetfile_extras +++ b/Puppetfile_extras @@ -35,7 +35,7 @@ mod 'ntp', mod 'systemd', :git => 'https://github.com/camptocamp/puppet-systemd', - :ref => 'master' + :ref => 'a0321364514f52a4c110a15afbdad5109d768fe6' mod 'ssh', :git => 'https://github.com/saz/puppet-ssh', diff --git a/spec/classes/tripleo_selinux_spec.rb b/spec/classes/tripleo_selinux_spec.rb index f49f87bfa..2e017b970 100644 --- a/spec/classes/tripleo_selinux_spec.rb +++ b/spec/classes/tripleo_selinux_spec.rb @@ -58,7 +58,7 @@ describe 'tripleo::selinux' do context 'with selinux disabled' do before :each do - facts.merge!({ :selinux => 'false' }) + facts.merge!({ :selinux => false }) end let :params do