Remove unused exec resource to refresh network interfaces

This resource was used to set up nova-network, which was already
removed.

Change-Id: Ia2adbe27d7a586176a3bcc8adadc2d952e541d03
This commit is contained in:
Takashi Kajinami 2023-01-05 15:36:41 +09:00
parent cd6df2a8af
commit 16aa7716ac
3 changed files with 0 additions and 13 deletions

View File

@ -440,7 +440,6 @@ class nova::compute (
package_name => $::nova::params::compute_package_name,
service_name => $::nova::params::compute_service_name,
ensure_package => $ensure_package,
before => Exec['networking-refresh']
}
if $force_config_drive {

View File

@ -542,13 +542,6 @@ but should be one of: ssh-rsa, ssh-dsa, ssh-ecdsa.")
tag => ['openstack', 'nova-package'],
}
# used by debian/ubuntu in nova::network_bridge to refresh
# interfaces based on /etc/network/interfaces
exec { 'networking-refresh':
command => '/sbin/ifdown -a ; /sbin/ifup -a',
refreshonly => true,
}
resources { 'nova_config':
purge => $purge_config,
}

View File

@ -25,11 +25,6 @@ describe 'nova' do
is_expected.to contain_nova_config('DEFAULT/rootwrap_config').with_value('/etc/nova/rootwrap.conf')
end
it { is_expected.to contain_exec('networking-refresh').with(
:command => '/sbin/ifdown -a ; /sbin/ifup -a',
:refreshonly => true
)}
it 'does not configure auth_strategy' do
is_expected.to contain_nova_config('api/auth_strategy').with_value('<SERVICE DEFAULT>')
end