From 6add4485c28a039e04433a81739720e5af9c800e Mon Sep 17 00:00:00 2001 From: Gael Chamoulaud Date: Tue, 24 Nov 2015 10:41:20 +0100 Subject: [PATCH] Fix unit tests against Puppet 4.3.0 Change-Id: I25973dc911747eb12e860a515459138d98a6e24c Related-bug: #1517805 Signed-off-by: Gael Chamoulaud --- spec/classes/ceilometer_api_spec.rb | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/spec/classes/ceilometer_api_spec.rb b/spec/classes/ceilometer_api_spec.rb index 094e2181..7aefed07 100644 --- a/spec/classes/ceilometer_api_spec.rb +++ b/spec/classes/ceilometer_api_spec.rb @@ -172,12 +172,13 @@ describe 'ceilometer::api' do context 'on RedHat platforms' do let :facts do - { :osfamily => 'RedHat', - :operatingsystem => 'RedHat', - :operatingsystemrelease => '7.1', - :fqdn => 'some.host.tld', - :concat_basedir => '/var/lib/puppet/concat', - :processorcount => 2 } + { :osfamily => 'RedHat', + :operatingsystem => 'RedHat', + :operatingsystemrelease => '7.1', + :operatingsystemmajrelease => '7', + :fqdn => 'some.host.tld', + :concat_basedir => '/var/lib/puppet/concat', + :processorcount => 2 } end let :platform_params do