From f95b5bac757eb9567581106bafdee3649189478a Mon Sep 17 00:00:00 2001 From: Mohammed Naser Date: Mon, 5 Feb 2018 16:35:43 -0500 Subject: [PATCH] Add facts needed by memcached to avoid failing. Change-Id: I7067135fc37b442b2a54168e324b71e3bbc038b1 --- spec/classes/swift_proxy_cache_spec.rb | 1 + spec/classes/swift_proxy_spec.rb | 3 +++ spec/classes/swift_ringbuilder_spec.rb | 1 + spec/defines/swift_ringbuilder_policy_ring_spec.rb | 1 + 4 files changed, 6 insertions(+) diff --git a/spec/classes/swift_proxy_cache_spec.rb b/spec/classes/swift_proxy_cache_spec.rb index d7500e79..106ddcc2 100644 --- a/spec/classes/swift_proxy_cache_spec.rb +++ b/spec/classes/swift_proxy_cache_spec.rb @@ -7,6 +7,7 @@ describe 'swift::proxy::cache' do :operatingsystem => 'Ubuntu', :osfamily => 'Debian', :os_workers => 1, + :processorcount => 1, } end diff --git a/spec/classes/swift_proxy_spec.rb b/spec/classes/swift_proxy_spec.rb index 3bfe39fb..697592de 100644 --- a/spec/classes/swift_proxy_spec.rb +++ b/spec/classes/swift_proxy_spec.rb @@ -14,6 +14,7 @@ describe 'swift::proxy' do :operatingsystem => 'Ubuntu', :osfamily => 'Debian', :os_workers => 1, + :processorcount => 1, }) end @@ -312,6 +313,7 @@ describe 'swift::proxy' do OSDefaults.get_facts({ :operatingsystem => 'Ubuntu', :osfamily => 'Debian', + :processorcount => 1, }) end @@ -341,6 +343,7 @@ describe 'swift::proxy' do OSDefaults.get_facts({ :osfamily => 'RedHat', :operatingsystem => 'RedHat', + :processorcount => 1, }) end diff --git a/spec/classes/swift_ringbuilder_spec.rb b/spec/classes/swift_ringbuilder_spec.rb index b455b059..9c51893d 100644 --- a/spec/classes/swift_ringbuilder_spec.rb +++ b/spec/classes/swift_ringbuilder_spec.rb @@ -6,6 +6,7 @@ describe 'swift::ringbuilder' do :operatingsystem => 'Ubuntu', :osfamily => 'Debian', :os_workers => 1, + :processorcount => 1, }) end describe 'when swift class is not included' do diff --git a/spec/defines/swift_ringbuilder_policy_ring_spec.rb b/spec/defines/swift_ringbuilder_policy_ring_spec.rb index 35f0ff11..0d86acc2 100644 --- a/spec/defines/swift_ringbuilder_policy_ring_spec.rb +++ b/spec/defines/swift_ringbuilder_policy_ring_spec.rb @@ -11,6 +11,7 @@ describe 'swift::ringbuilder::policy_ring' do :operatingsystem => 'Ubuntu', :osfamily => 'Debian', :os_workers => 1, + :processorcount => 1, }) end describe 'when swift class is not included' do