Remove usage of custom os_package_type fact

Currently we support usage of distro packages only, and this custom
fact can be simply replaced by the default fact.

Change-Id: Id592754fa32ed7bd46d5380699a471c67b7a32fd
This commit is contained in:
Takashi Kajinami
2022-01-05 22:09:24 +09:00
parent d8ba948a2a
commit ede820961f
2 changed files with 1 additions and 5 deletions

View File

@@ -29,7 +29,7 @@ class neutron::wsgi::uwsgi (
include neutron::deps
if $::os_package_type != 'debian'{
if $::operatingsystem != 'Debian'{
warning('This class is only valid for Debian, as other operating systems are not using uwsgi by default.')
}

View File

@@ -97,10 +97,6 @@ describe 'neutron::agents::bgp_dragent' do
end
shared_examples 'neutron::agents::bgp_dragent on Debian' do
before do
facts.merge!( :os_package_type => 'debian' )
end
context 'with default params' do
it { should contain_package('neutron-dynamic-routing').with(
:ensure => default_params[:package_ensure],