Puppet Class: network::bond::setup
- Defined in:
- manifests/bond/setup.pp
Summary
Setup bonding support for different operating systemsOverview
This class installs the necessary packages for network bonding support. On Debian systems, it installs the ifenslave package. On RedHat systems, the ifenslave command is available by default with the iputils package.
7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'manifests/bond/setup.pp', line 7
class network::bond::setup {
case $facts['os']['family'] {
'Debian': {
package { 'ifenslave':
ensure => present,
}
}
'RedHat', default: {
# Redhat installs the ifenslave command with the iputils package which
# is available by default
}
}
}
|