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:
@@ -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.')
|
||||
}
|
||||
|
||||
|
@@ -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],
|
||||
|
Reference in New Issue
Block a user