Remove unused exec resource to refresh network interfaces
This resource was used to set up nova-network, which was already
removed.
Change-Id: Ia2adbe27d7a586176a3bcc8adadc2d952e541d03
(cherry picked from commit 16aa7716ac
)
This commit is contained in:
parent
f07430f407
commit
32e4e80330
@ -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 {
|
||||
|
@ -568,13 +568,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,
|
||||
}
|
||||
|
@ -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.not_to contain_nova_config('api/auth_strategy')
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user