From cd7acf3cd7e6a193791220e59a92b07b301dbdc3 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Sat, 9 May 2015 17:08:26 +0200 Subject: drop old modules --- .../modules/sunet/manifests/ethernet_bonding.pp | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 global/overlay/etc/puppet/modules/sunet/manifests/ethernet_bonding.pp (limited to 'global/overlay/etc/puppet/modules/sunet/manifests/ethernet_bonding.pp') diff --git a/global/overlay/etc/puppet/modules/sunet/manifests/ethernet_bonding.pp b/global/overlay/etc/puppet/modules/sunet/manifests/ethernet_bonding.pp deleted file mode 100644 index 8ff7325..0000000 --- a/global/overlay/etc/puppet/modules/sunet/manifests/ethernet_bonding.pp +++ /dev/null @@ -1,19 +0,0 @@ -define sunet::ethernet_bonding() { - # Set up prerequisites for Ethernet LACP bonding of eth0 and eth1, - # for all physical hosts that are running Ubuntu. - # - # Bonding requires setup in /etc/network/interfaces as well. - # - if $::is_virtual == 'false' and $::operatingsystem == 'Ubuntu' { - if $::operatingsystemrelease <= '12.04' { - package {'ifenslave': ensure => 'present' } - } else { - package {'ifenslave-2.6': ensure => 'present' } - } - - file_line { 'load_module_at_boot': - path => '/etc/modules', - line => 'bonding', - } - } -} -- cgit v1.1