Merge pull request #435 from enovance/modprobe
Modprobe configuration for RHEL
This commit is contained in:
@@ -81,13 +81,9 @@ class cloud::network(
|
||||
}
|
||||
|
||||
if $::osfamily == 'RedHat' {
|
||||
$gre_module_name = 'ip_gre'
|
||||
} else {
|
||||
$gre_module_name = 'gre'
|
||||
kmod::load { '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
|
||||
|
Reference in New Issue
Block a user