Merge pull request #435 from enovance/modprobe

Modprobe configuration for RHEL
This commit is contained in:
Emilien Macchi
2014-04-17 18:54:52 +02:00
8 changed files with 1 additions and 12 deletions

View File

@@ -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,

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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