RHEL: load GRE kernel module
Install ip_gre module correctly on Red Hat systems.
This commit is contained in:
parent
f709c91d1c
commit
d313fb1f7c
@ -81,13 +81,11 @@ class cloud::network(
|
||||
}
|
||||
|
||||
if $::osfamily == 'RedHat' {
|
||||
$gre_module_name = 'ip_gre'
|
||||
} else {
|
||||
$gre_module_name = 'gre'
|
||||
kmod::install { 'ip_gre':
|
||||
command => 'install ip_gre /sbin/modprobe ip_gre'
|
||||
}
|
||||
}
|
||||
|
||||
kmod::install { $gre_module_name: }
|
||||
|
||||
class { 'neutron':
|
||||
allow_overlapping_ips => true,
|
||||
verbose => $verbose,
|
||||
|
@ -157,7 +157,6 @@ describe 'cloud::compute::hypervisor' do
|
||||
:network_vlan_ranges => ['physnet1:1000:2999'],
|
||||
:enable_security_group => 'neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver'
|
||||
)
|
||||
should contain_kmod__install(platform_params[:gre_module_name])
|
||||
end
|
||||
|
||||
it 'configure neutron on compute node' do
|
||||
|
@ -78,7 +78,6 @@ describe 'cloud::network::controller' do
|
||||
:network_vlan_ranges => ['physnet1:1000:2999'],
|
||||
:enable_security_group => 'neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver'
|
||||
)
|
||||
should contain_kmod__install(platform_params[:gre_module_name])
|
||||
end
|
||||
|
||||
it 'configure neutron server' do
|
||||
|
@ -73,7 +73,6 @@ describe 'cloud::network::dhcp' do
|
||||
:network_vlan_ranges => ['physnet1:1000:2999'],
|
||||
:enable_security_group => 'neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver'
|
||||
)
|
||||
should contain_kmod__install(platform_params[:gre_module_name])
|
||||
end
|
||||
|
||||
it 'configure neutron dhcp' do
|
||||
|
@ -73,7 +73,6 @@ describe 'cloud::network::l3' do
|
||||
:network_vlan_ranges => ['physnet1:1000:2999'],
|
||||
:enable_security_group => 'neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver'
|
||||
)
|
||||
should contain_kmod__install(platform_params[:gre_module_name])
|
||||
end
|
||||
|
||||
it 'configure neutron l3' do
|
||||
|
@ -73,7 +73,6 @@ describe 'cloud::network::lbaas' do
|
||||
:network_vlan_ranges => ['physnet1:1000:2999'],
|
||||
:enable_security_group => 'neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver'
|
||||
)
|
||||
should contain_kmod__install(platform_params[:gre_module_name])
|
||||
end
|
||||
|
||||
it 'configure neutron lbaas' do
|
||||
|
@ -80,7 +80,6 @@ describe 'cloud::network::metadata' do
|
||||
:network_vlan_ranges => ['physnet1:1000:2999'],
|
||||
:enable_security_group => 'neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver'
|
||||
)
|
||||
should contain_kmod__install(platform_params[:gre_module_name])
|
||||
end
|
||||
|
||||
it 'configure neutron metadata' do
|
||||
|
@ -68,7 +68,6 @@ describe 'cloud::network::vpn' do
|
||||
:network_vlan_ranges => ['physnet1:1000:2999'],
|
||||
:enable_security_group => 'neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver'
|
||||
)
|
||||
should contain_kmod__install(platform_params[:gre_module_name])
|
||||
end
|
||||
|
||||
it 'configure neutron vpnaas' do
|
||||
|
Loading…
x
Reference in New Issue
Block a user