diff options
author | Leif Johansson <leifj@sunet.se> | 2015-05-09 17:08:26 +0200 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2015-05-09 17:08:26 +0200 |
commit | cd7acf3cd7e6a193791220e59a92b07b301dbdc3 (patch) | |
tree | 0386232d357da175bcb940d8e8da2c8760fce342 /global/overlay/etc/puppet/modules/sunet/manifests/ethernet_bonding.pp | |
parent | b426d3fae51f9a15bd99a54a67c6878e4b3f9506 (diff) |
drop old modulessunet-ops-2015-05-09-v12
Diffstat (limited to 'global/overlay/etc/puppet/modules/sunet/manifests/ethernet_bonding.pp')
-rw-r--r-- | global/overlay/etc/puppet/modules/sunet/manifests/ethernet_bonding.pp | 19 |
1 files changed, 0 insertions, 19 deletions
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', - } - } -} |