From 676c282f7994edc97838a13117739d9a4cde703e Mon Sep 17 00:00:00 2001 From: Alex Schultz Date: Wed, 10 Oct 2018 11:46:07 -0600 Subject: [PATCH] Fix facts for nova::keystone::auth test We've recently started using additional facts in the cinder module so we need to ensure they have the proper information in our spec tests. Eventually this needs to get moved to rspec-puppet-facts instead of being defined here. Change-Id: Ia8bb4a98e80ecab18a4748cf4cf38152570618e1 --- spec/classes/nova_keystone_auth_spec.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/spec/classes/nova_keystone_auth_spec.rb b/spec/classes/nova_keystone_auth_spec.rb index d263825c0..d9338ce9b 100644 --- a/spec/classes/nova_keystone_auth_spec.rb +++ b/spec/classes/nova_keystone_auth_spec.rb @@ -132,7 +132,10 @@ describe 'nova::keystone::auth' do end let :facts do - @default_facts.merge({ :osfamily => "Debian"}) + @default_facts.merge({ + :osfamily => "Debian", + :os => { :name => 'Debian', :family => 'Debian', :release => { :major => '8', :minor => '0' } }, + }) end let :params do