Version information
This version is compatible with:
- Puppet Enterprise 2023.8.x, 2023.7.x, 2023.6.x, 2023.5.x, 2023.4.x, 2023.3.x, 2023.2.x, 2023.1.x, 2023.0.x, 2021.7.x, 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x
- Puppet >= 7.0.0 < 9.0.0
- , , , ,
Start using this module
Add this module to your Puppetfile:
mod 'simp-network', '6.7.0'
Learn more about managing modules with a PuppetfileDocumentation
Table of Contents
Overview
This module assists users in managing network interfaces on their system.
See REFERENCE.md for API documentation.
This is a SIMP module
This module is a component of the System Integrity Management Platform
If you find any issues, please submit them via JIRA.
Please read our [Contribution Guide] (https://simp.readthedocs.io/en/stable/contributors_guide/index.html).
Module Description
This module targets the configuration of network interfaces on supported operating systems.
Setup
What simp-network affects
This module affects the creation and management of various types of network devices on RHEL-compatible operating systems.
Usage
Basic Usage
Set global networking parameters
include network::global
Manage a network interface
network::eth { 'eth0':
macaddr => $facts['macaddress_eth0']
}
Set up a bridge bound to an interface
network::eth { 'eth0':
bridge => 'br0',
macaddr => $facts['macaddress_eth0']
}
network::eth { 'br0':
net_type => 'Bridge',
onboot => true,
macaddr => $facts['macaddress_eth0'],
ipaddr => pick($facts['ipaddress_eth0'], $facts['ipaddress_br0']),
gateway => $facts['defaultgateway'],
broadcase => $facts['netmask_eth0'],
require => Network::Eth['eth0']
}
Limitations
This module is designed to work only with RHEL-compatible operating systems.
Development
Please read our [Contribution Guide] (https://simp.readthedocs.io/en/stable/contributors_guide/index.html).
Unit tests
Unit tests, written in rspec-puppet
can be run by calling:
bundle exec rake spec
Acceptance tests
To run the system tests, you need Vagrant installed. Then, run:
bundle exec rake beaker:suites
Some environment variables may be useful:
BEAKER_debug=true
BEAKER_provision=no
BEAKER_destroy=no
BEAKER_use_fixtures_dir_for_modules=yes
BEAKER_debug
: show the commands being run on the STU and their output.BEAKER_destroy=no
: prevent the machine destruction after the tests finish so you can inspect the state.BEAKER_provision=no
: prevent the machine from being recreated. This can save a lot of time while you're writing the tests.BEAKER_use_fixtures_dir_for_modules=yes
: cause all module dependencies to be loaded from thespec/fixtures/modules
directory, based on the contents of.fixtures.yml
. The contents of this directory are usually populated bybundle exec rake spec_prep
. This can be used to run acceptance tests to run on isolated networks.
Reference
Table of Contents
Classes
network
: Manage network devicesnetwork::eth::bridge_packages
: Include the required bridge packagesnetwork::global
: This sets up the global options in /etc/sysconfig/network See /usr/share/doc/initscripts-/sysconfig.txt for details of each option.network::service
: Contains all supported network management servicesnetwork::service::legacy
: Restarts the network using a wrapper script that delays execution until after the Puppet agent run is finished. This ensures that networknetwork::service::network_manager
: Restarts the network using a wrapper script that delays execution until after the Puppet agent run is finished. This ensures that network
Defined types
network::eth
: This sets up a particular ethernet device config file. See /usr/share/doc/initscripts-/sysconfig.txt for details of each option. Fnetwork::route
: Add a static route to an interface. See/usr/share/doc/initscripts-*/sysconfig.txt
for details of each option.
Data types
Network::BondMode
: Valid bond modes for network interfacesNetwork::Eth::BootProto
: Valid ethernet boot protocolsNetwork::TransmitPolicy
: Valid network transmit policiesNetwork::VlanType
: taken from http://lxr.free-electrons.com/source/net/8021q/vlan.c?v=2.6.32#L310
Classes
network
Manage network devices
Parameters
The following parameters are available in the network
class:
auto_restart
Data type: Boolean
Restart the network if necessary due to a configuration change.
Default value: true
network::eth::bridge_packages
Include the required bridge packages
Parameters
The following parameters are available in the network::eth::bridge_packages
class:
package_ensure
Data type: Simplib::PackageEnsure
The state to which the required packages should be set
Default value: simplib::lookup('simp_options::package_ensure', { 'default_value' => 'installed' })
network::global
This sets up the global options in /etc/sysconfig/network
See /usr/share/doc/initscripts-/sysconfig.txt for details of each option.
Parameters
The following parameters are available in the network::global
class:
gateway
gatewaydev
hostname
ipv6_autoconf
ipv6_autotunnel
ipv6_defaultdev
ipv6_defaultgw
ipv6_router
ipv6forwarding
network
networkdelay
networking
networking_ipv6
nisdomain
nozeroconf
peerdns
vlan
auto_restart
persistent_dhclient
gateway
Data type: Optional[Simplib::IP]
Default value: undef
gatewaydev
Data type: Optional[String]
Default value: undef
hostname
Data type: Simplib::Hostname
Default value: $facts['networking']['fqdn']
ipv6_autoconf
Data type: Optional[Boolean]
Default value: undef
ipv6_autotunnel
Data type: Optional[Boolean]
Default value: undef
ipv6_defaultdev
Data type: Optional[String]
Default value: undef
ipv6_defaultgw
Data type: Optional[String]
Default value: undef
ipv6_router
Data type: Optional[Boolean]
Default value: undef
ipv6forwarding
Data type: Optional[Boolean]
Default value: undef
network
Data type: Optional[Simplib::IP]
Default value: undef
networkdelay
Data type: Optional[Integer]
Default value: undef
networking
Data type: Optional[Boolean]
Default value: undef
networking_ipv6
Data type: Optional[Boolean]
Default value: undef
nisdomain
Data type: Optional[String]
Default value: undef
nozeroconf
Data type: Optional[Boolean]
Default value: undef
peerdns
Data type: Optional[Boolean]
Default value: undef
vlan
Data type: Optional[Boolean]
Default value: undef
auto_restart
Data type: Optional[Boolean]
Restart the network if necessary due to a configuration change.
Default value: $network::auto_restart
persistent_dhclient
Data type: Optional[Boolean]
Default value: undef
network::service
Contains all supported network management services
Parameters
The following parameters are available in the network::service
class:
manage_legacy
Data type: Boolean
Enable management of the legacy 'network' service
Default value: true
manage_network_manager
Data type: Boolean
Enable management of the NetworkManager service
- Defaults to the running active state of NetworkManager on the target system
Default value: pick(fact('simplib__networkmanager.enabled'), false)
network::service::legacy
Restarts the network using a wrapper script that delays execution until after the Puppet agent run is finished.
This ensures that network changes aren't applied during a Puppet agent run
and potentially disrupt its other configurations and report (unless
explicitly configured otherwise in specific network::eth
declarations).
network::service::network_manager
Restarts the network using a wrapper script that delays execution until after the Puppet agent run is finished.
This ensures that network changes aren't applied during a Puppet agent run
and potentially disrupt its other configurations and report (unless
explicitly configured otherwise in specific network::eth
declarations).
Parameters
The following parameters are available in the network::service::network_manager
class:
puppet_agent_installed
Data type: Boolean
If puppet agent is running as service set this to true
Default value: false
Defined types
network::eth
This sets up a particular ethernet device config file.
See /usr/share/doc/initscripts-/sysconfig.txt for details of each option.
For bonding options see /usr/share/doc/iputils-20020927/README.bonding. Particularly, section "3.2 Configuration with Initscripts Support" and "2. Bonding Driver Options".
DEVICE is taken from $name HWADDR is pulled from facter if possible. ONBOOT is aliased to ONPARENT for alias devices
FIXME: This does require that you include 'network::redhat' to get the network service defined.
The following 3 options are passed as dhclientargs.
Parameters
The following parameters are available in the network::eth
defined type:
name
auto_discover_mac
bonding
arp
autoconnect_slaves
bond_arp_interval
bond_arp_ip_target
bond_downdelay
bond_lacp_rate
bond_max_bonds
bond_miimon
bond_mode
bond_primary
bond_updelay
bond_use_carrier
bond_xmit_hash_policy
bootproto
bridge
broadcast
delay
dhclient_ignore_gateway
dhclient_request_option_list
dhclient_timeout
dhclient_vendor_class_identifier
dhcpclass
dhcp_hostname
dhcprelease
dns1
dns2
ethtool_opts
ensure
reorder_hdr
gateway
hotplug
hwaddr
ipaddr
ipv6_autoconf
ipv6_control_radvd
ipv6_mtu
ipv6_privacy
ipv6_radvd_pidfile
ipv6_radvd_trigger_action
ipv6_router
ipv6addr
ipv6addr_secondaries
ipv6init
ipv6to4_ipv4addr
ipv6to4_mtu
ipv6to4_relay
ipv6to4_routing
ipv6to4init
isalias
linkdelay
macaddr
master
metric
mtu
net_type
netmask
network
nm_controlled
nozeroconf
onboot
peerdns
physdev
persistent_dhclient
slave
srcaddr
userctl
vlan
vlan_name_type
window
auto_restart
name
DEVICE is taken from this variable.
auto_discover_mac
Data type: Boolean
Determine whether or not the system should try and auto-discover a MAC address for the interface specified.
Default value: true
bonding
Data type: Boolean
This variable does not translate into an init script option. If you set this to true instead of false any hardware address auto-discovery will be ignored. Otherwise, the interface will attempt to auto-discover the interface. If you explicitly set hwaddr or macaddr, then this will be ignored.
Default value: false
arp
Data type: Optional[Boolean]
Default value: undef
autoconnect_slaves
Data type: Optional[Boolean]
Default value: undef
bond_arp_interval
Data type: Optional[Integer]
Default value: undef
bond_arp_ip_target
Data type: Optional[Simplib::IP]
Default value: undef
bond_downdelay
Data type: Optional[Integer]
Default value: undef
bond_lacp_rate
Data type: Optional[Integer[0,1]]
Default value: undef
bond_max_bonds
Data type: Optional[Integer]
Default value: undef
bond_miimon
Data type: Optional[Integer]
Default value: undef
bond_mode
Data type: Optional[Network::BondMode]
Default value: undef
bond_primary
Data type: Optional[String]
Default value: undef
bond_updelay
Data type: Optional[Integer]
Default value: undef
bond_use_carrier
Data type: Optional[Integer[0,1]]
Default value: undef
bond_xmit_hash_policy
Data type: Optional[Network::TransmitPolicy]
Default value: undef
bootproto
Data type: Network::Eth::BootProto
Default value: 'dhcp'
bridge
Data type: Optional[String]
Default value: undef
broadcast
Data type: Optional[Simplib::IP]
Default value: undef
delay
Data type: Optional[Integer]
If hosting VMs, set delay to 0.
Default value: undef
dhclient_ignore_gateway
Data type: Optional[Boolean]
Default value: undef
dhclient_request_option_list
Data type: Optional[Array[String]]
Default value: undef
dhclient_timeout
Data type: Integer
Default value: 10080
dhclient_vendor_class_identifier
Data type: Optional[String[1]]
Default value: undef
dhcpclass
Data type: Optional[String[1]]
Default value: undef
dhcp_hostname
Data type: Optional[Simplib::Hostname]
Default value: undef
dhcprelease
Data type: Optional[String[1]]
Default value: undef
dns1
Data type: Optional[Simplib::Host]
Default value: undef
dns2
Data type: Optional[Simplib::Host]
Default value: undef
ethtool_opts
Data type: Optional[Array[String[1]]]
Default value: undef
ensure
Data type: Enum['absent','present']
Default value: 'present'
reorder_hdr
Data type: Optional[Boolean]
Default value: undef
gateway
Data type: Optional[Simplib::IP]
Default value: undef
hotplug
Data type: Optional[Boolean]
Default value: undef
hwaddr
Data type: Optional[Simplib::Macaddress]
If you set this, you have the following options: 1) Leave Blank -> Auto-detect (default) 2) Set to something with ':' -> Set to MAC address (if valid) 3) Set to anything else -> Leave unset and add a comment
Default value: undef
ipaddr
Data type: Optional[Simplib::IP]
Default value: undef
ipv6_autoconf
Data type: Optional[Boolean]
Default value: undef
ipv6_control_radvd
Data type: Optional[Boolean]
Default value: undef
ipv6_mtu
Data type: Optional[Integer]
Default value: undef
ipv6_privacy
Data type: String[1]
Default value: 'rfc3041'
ipv6_radvd_pidfile
Data type: Optional[String[1]]
Default value: undef
ipv6_radvd_trigger_action
Data type: Optional[String[1]]
Default value: undef
ipv6_router
Data type: Optional[Boolean]
Default value: undef
ipv6addr
Data type: Optional[Simplib::IP::V6]
Default value: undef
ipv6addr_secondaries
Data type: Optional[Array[Simplib::IP::V6]]
Default value: undef
ipv6init
Data type: Optional[Boolean]
Default value: undef
ipv6to4_ipv4addr
Data type: Optional[String[1]]
Default value: undef
ipv6to4_mtu
Data type: Optional[Integer]
Default value: undef
ipv6to4_relay
Data type: Optional[String[1]]
Default value: undef
ipv6to4_routing
Data type: Optional[String[1]]
Default value: undef
ipv6to4init
Data type: Optional[Boolean]
Default value: undef
isalias
Data type: Optional[Boolean]
Default value: undef
linkdelay
Data type: Optional[Integer[1]]
Default value: undef
macaddr
Data type: Optional[Simplib::Macaddress]
If you set this variable, it will override any setting for $hwaddr!
Default value: undef
master
Data type: Optional[String[1]]
Default value: undef
metric
Data type: Optional[String[1]]
Default value: undef
mtu
Data type: Optional[Integer[1]]
Default value: undef
net_type
Data type: Optional[String[1]]
Default value: undef
netmask
Data type: Optional[Simplib::IP]
Default value: undef
network
Data type: Optional[Simplib::IP]
Default value: undef
nm_controlled
Data type: Boolean
EXPERIMENTAL feature to mark an interface as controlled by NetworkManager. If set, the code attempts a best-effort case to enable the interface and control it via the NetworkManager tools.
Default value: pick(fact('simplib__networkmanager.enabled'), false)
nozeroconf
Data type: Optional[String[1]]
Default value: undef
onboot
Data type: Boolean
Default value: true
peerdns
Data type: Optional[Boolean]
Default value: undef
physdev
Data type: Optional[String[1]]
Default value: undef
persistent_dhclient
Data type: Optional[Boolean]
Default value: undef
slave
Data type: Optional[Boolean]
Default value: undef
srcaddr
Data type: Optional[Simplib::IP]
Default value: undef
userctl
Data type: Optional[Boolean]
Default value: undef
vlan
Data type: Boolean
Default value: false
vlan_name_type
Data type: Optional[Network::VlanType]
Default value: undef
window
Data type: Optional[Integer[1]]
Default value: undef
auto_restart
Data type: Optional[Boolean]
Restart the network if necessary due to a configuration change.
- Will use the value from the main
network
class if not set.
Default value: undef
network::route
Add a static route to an interface.
See /usr/share/doc/initscripts-*/sysconfig.txt
for details of
each option.
Examples
Defining a static route (Hiera)
eth0-1.1.1.1:
interface: eth0
next_hop: 8.8.8.8
cidr_netmask: 1.1.1.1/32
auto_restart: true # <- default
Defining multiple routes for the same interface (Puppet code)
network::route{ 'eth1-first-static-route':
interface => 'eth1',
cidr_netmask => "192.168.1.0/24',
next_hop => '192.168.1.1,
}
network::route{ 'eth1-second-static-route':
interface => 'eth1',
cidr_netmask => '192.168.3.0/24',
next_hop => '192.168.3.1',
}
Parameters
The following parameters are available in the network::route
defined type:
interface
Data type: String
cidr_netmask
Data type: String
next_hop
Data type: Simplib::IP
auto_restart
Data type: Boolean
Restart the network if necessary due to a configuration change.
Default value: true
Data types
Network::BondMode
Valid bond modes for network interfaces
Alias of
Variant[Integer[0,6], Enum[
'balance-rr',
'active-backup',
'balance-xor',
'broadcast',
'802.3ad',
'balance-tlb',
'balance-alb'
]]
Network::Eth::BootProto
Valid ethernet boot protocols
Alias of Enum['none', 'static', 'bootp', 'dhcp']
Network::TransmitPolicy
Valid network transmit policies
Alias of Enum['layer2', 'layer2+3', 'layer3+4']
Network::VlanType
taken from http://lxr.free-electrons.com/source/net/8021q/vlan.c?v=2.6.32#L310
Alias of Enum['VLAN_NAME_TYPE_RAW_PLUS_VID', 'VLAN_NAME_TYPE_PLUS_VID_NO_PAD', 'VLAN_NAME_TYPE_RAW_PLUS_VID_NO_PAD', 'VLAN_NAME_TYPE_PLUS_VID']
- Thu Nov 30 2023 castrov 10415785+castrov@users.noreply.github.com - 6.7.0
- Add new parameter
network::service::network_manager::puppet_agent_installed
- Wed Oct 11 2023 Steven Pritchard steve@sicura.us - 6.6.0
- [puppetsync] Updates for Puppet 8
- These updates may include the following:
- Update Gemfile
- Add support for Puppet 8
- Drop support for Puppet 6
- Update module dependencies
- These updates may include the following:
- Wed Aug 23 2023 Steven Pritchard steve@sicura.us - 6.5.0
- Add AlmaLinux 8 support
- Sat Aug 12 2023 Daniel Castro 10415785+castrov@users.noreply.github.com - 6.4.2
- Add autoconnect_slaves parameter
- Wed Jul 19 2023 Chris Tessmer chris.tessmer@onyxpoint.com - 6.4.1
- Fix EL8
dhclient
flags in eth template:-timeout
(EL7) vs--timeout
(EL8)-R
(EL7) vs--request-options
(EL8)
- Mon Jul 17 2023 Chris Tessmer chris.tessmer@onyxpoint.com - 6.4.0
- Add RockyLinux 8 support
- Sat Oct 15 2022 Trevor Vaughan trevor@sicura.us - 6.3.3
- Version bump to correct the issue with the 6.3.1 tag
- Sat Oct 15 2022 Trevor Vaughan trevor@sicura.us - 6.3.2
- Version bump to correct the issue with the 6.3.1 tag
- Fri Jul 08 2022 befischer-noris 108938973+befischer-noris@users.noreply.github.com - 6.3.1
- Add support for multiple static routes
- Wed Jun 16 2021 Chris Tessmer chris.tessmer@onyxpoint.com - 6.3.0
- Removed support for Puppet 5
- Ensured support for Puppet 7 in requirements and stdlib
- Thu Feb 11 2021 Trevor Vaughan tvaughan@onyxpoint.com - 6.2.1
- Fixed:
- Ensure that the network::eth define honors the network::auto_restart parameter by default
- Updated the network::eth define to use the modern facts to get IP addresses to prevent interface flapping
- Fri Dec 18 2020 Chris Tessmer chris.tessmer@onyxpoint.com - 6.2.1
- Removed EL6 support
- Fri Dec 20 2019 Trevor Vaughan tvaughan@onyxpoint.com - 6.2.0-0
- Add EL8 support
- Fix a bug where both the legacy network and NetworkManager were activated in all cases
- Fri Aug 02 2019 Robert Vincent pillarsdotnet@gmail.com - 6.2.0-0
- Support puppetlabs/concat 6.x and puppetlabs/stdlib 6.x.
- Wed Apr 17 2019 Trevor Vaughan tvaughan@onyxpoint.com - 6.1.0-0
- Ensure that the acceptance tests pass and bring up the bridge device
- Fix the fact that network::global could break networking
- Expose failures during Exec's of network-related activity
- Add NetworkManager support
- Mon Apr 08 2019 Jeanne Greulich jeanne.greulich@onyxpoint.com - 6.1.0-0
- Changed occurrences of simpcat to concat.
- Mon Mar 25 2019 Joseph Sharkey shark.bruhaha@gmail.com - 6.1.0-0
- Updated puppet template scope API from 3 to newer
- Mon Feb 11 2019 Liz Nemsick lnemsick.simp@gmail.com - 6.0.4-0
- Use Simplib::Macaddress data type in lieu of validate_macaddresses(), a deprecated simplib Puppet 3 function.
- Update the upper bound of stdlib to < 6.0.0
- Update a URL in the README.md
- Thu Nov 01 2018 Jeanne Greulich jeanne,greulich@onyxpoint.com - 6.0.3-0
- Static asset updates for puppet 5
- Update badges and contribution guide URL in README.md
- Update to onyxpoint OEL boxes in acceptance tests
- Fri Sep 07 2018 Liz Nemsick lnemsick.simp@gmail.com - 6.0.3-0
- Drop Hiera 4 support
- Fri Mar 23 2018 Trevor Vaughan tvaughan@onyxpoint.com - 6.0.3-0
- Added support for OEL and Puppet 5
- Wed Apr 26 2017 Nick Miller nick.miller@onyxpoint.com - 6.0.2-0
- Added management of bind-utils and bridge-utils
- Packages in this module now use the package_ensure catalyst
- Update puppet requirement in metadata.json
- Wed Mar 15 2017 Nick Miller nick.miller@onyxpoint.com - 6.0.1-0
- The inline template in the eth defined type now returns booleans
- Mon Dec 19 2016 Nick Miller nick.miller@onyxpoint.com - 6.0.0-0
- Strong typing w/new IP types
- All parameters that were 'yes' or 'no' are now optional booleans
- Removed most validation from templates
- Added more tests for all manifests
- Cleaned up regex in the careful restart script
- Mon Nov 21 2016 Chris Tessmer chris.tessmer@onypoint.com - 5.0.0-0
- Removed compliance map and general house keeping
- Fri Sep 30 2016 Trevor Vaughan tvaughan@onyxpoint.com - 5.0.0-0
- Updated to use the new 'simpcat' that deconflicts with 'puppetlabs/concat'
- Mon Sep 26 2016 Trevor Vaughan tvaughan@onyxpoint.com - 4.1.2-0
- Ensure that no calls to 'function_defined' are present in any templates for Puppet 4 compatibility
- Thu May 19 2016 Chris Tessmer chris.tessmer@onypoint.com - 4.1.1-0
- Sanitize code for
STRICT_VARIABLES=yes
- Thu Dec 03 2015 Chris Tessmer chris.tessmer@onyxpoint.com - 4.1.0-6
- Replaced all 'lsb' facts with their (package-independent) 'operatingsystem' counterparts.
- Common module assets have been normalized, lint errors corrected, and rspect tests have been updated to the new 'expect' syntax.
- Mon Nov 09 2015 Chris Tessmer chris.tessmer@onyxpoint.com - 4.1.0-5
- migration to simplib and simpcat (lib/ only)
- Fri Mar 06 2015 Chris Tessmer chris.tessmer@onyxpoint.com - 4.1.0-4
- Fixed bug in network::add_eth that trashed bonded nics.
- Fri Jan 16 2015 Trevor Vaughan tvaughan@onyxpoint.com - 4.1.0-3
- Changed puppet-server requirement to puppet.
- Fri Sep 05 2014 Kendall Moore kmoore@keywcorp.com - 4.1.0-2
- No longer require MAC/Hardware addresses for non-physical interfaces.
- Sun Jun 22 2014 Kendall Moore kmoore@keywcorp.com - 4.1.0-1
- Removed MD5 file checksums for FIPS compliance.
- Mon Mar 03 2014 Kendall Moore kmoore@keywcorp.com - 4.1.0-0
- Refactored manifests to pass all lint tests for hiera and puppet 3 compatibility.
- Added rspec tests for test coverage.
- Removed RedHat references as there are no other current options.
- Mon Oct 07 2013 Kendall Moore kmoore@keywcorp.com - 3.0.0-2
- Updated all erb templates to properly scope variables.
- Thu Oct 03 2013 Trevor Vaughan tvaughan@onyxpoint.com - 3.0.0-1
- Use 'versioncmp' for all version comparisons.
- Tue Sep 24 2013 Trevor Vaughan tvaughan@onyxpoint.com - 3.0.0-0
- Added the ability to set a boolean, network::auto_restart, to indicate whether or not to automatically restart the network. interfaces on configuration change.
- Note: This will still run the restart exec but it changes the exec method to /bin/true. This is so that all dependencies work properly.
- Tue Sep 24 2013 Trevor Vaughan tvaughan@onyxpoint.com - 2.0.0-17
- Added PERSISTENT_DHCLIENT support to network::redhat::global.
- Tue Aug 06 2013 Nick Markowski nmarkowski@keywcorp.com - 2.0.0-16
- network::redhat::add_eth now sets ipv6_privacy to rfc3014 by default.
- Mon Aug 05 2013 Kendall Moore kmoore@keywcorp.com - 2.0.0-15
- Updated the documentation to include support for multiple static routes in the network::route::add definition.
- Thu Apr 11 2013 Maintenance 2.0.0-14
- Now restart the specified add_eth interface if slave != ''.
- Thu Jan 03 2013 Maintenance 2.0.0-13
- Updated the module to make MAC address specification completely optional.
- blank => autodiscover
- something with ':' => MAC address
- anything else => Leave it blank
- Fri Nov 30 2012 Maintenance 2.0.0-12
- Created a Cucumber test to ensure that the network service is running and that there are network interfaces currently up.
- Created a Cucumber test to add a bridge interface using the network::redhat::add_eth definition and check to make sure that interface is brought up after a puppet run.
- Updated to require pupmod-common >= 2.1.1-2 so that upgrading an old system works properly.
- Thu Nov 08 2012 Maintenance 2.0.0-11
- Updated the bonding settings to move the options to the sysconfig file instead of modprobe.d.
- Mon Jul 09 2012 Maintenance 2.0.0-10
- Ensure that subinterfaces and VLANs are properly handled when restarting or deleting interfaces.
- Thu Jun 07 2012 Maintenance 2.0.0-9
- Ensure that Arrays in templates are flattened.
- Call facts as instance variables.
- Added the ability to delete network interfaces.
- Moved mit-tests to /usr/share/simp...
- Updated pp files to better meet Puppet's recommended style guide.
- Fri Mar 02 2012 Maintenance 2.0.0-8
- Added a default timeout variable to the DHCP args set very high so that systems do not, by default, time out before the DHCP server boots.
- Improved test stubs.
- Mon Dec 26 2011 Maintenance 2.0.0-7
- Updated the spec file to not require a separate file list.
- Mon Dec 05 2011 Maintenance 2.0.0-6
- Fixed the modprobe portion of bonding.
- Added a script to safely restart the network after the current puppet run. This prevents issues with the network restarting and ending up with a partial puppet run.
- Sat Nov 19 2011 Maintenance 2.0.0-5
- Removed the false dependency on the interface being named 'eth*' in eth.erb since this can interfere with user choice.
- Fixed a long-standing bug with global.erb where the 'networkdelay' option wasn't properly output.
- Updated so that interfaces that are not currently up will not be started by the network restart exec.
- Fixed the bonding template so that it properly puts the options on the separate line.
- Updated the destination of the modprobe file when bonding to sit as /etc/modprobe.d/.conf
- Wed Nov 09 2011 Maintenance 2.0.0-4
- Fixed a typo in the bonding erb template.
- Document the 'bonding' variable.
- Add support for MACADDR
- Mon Oct 31 2011 Maintenance 2.0.0-3
- Ensure that you don't have to specify a MAC address when using a bonded interface.
- Mon Oct 10 2011 Maintenance 2.0.0-2
- Updated to put quotes around everything that need it in a comparison statement so that puppet > 2.5 doesn't explode with an undef error.
- Fri Feb 11 2011 Maintenance 2.0.0-1
- Updated to use concat_build and concat_fragment types.
- Tue Jan 11 2011 Maintenance 2.0.0-0
- Refactored for SIMP-2.0.0-alpha release
- Tue Oct 26 2010 Maintenance - 1-1
- Converting all spec files to check for directories prior to copy.
- Fri May 21 2010 Maintenance 1.0-0
- Code and doc refactor.
- Fri Feb 05 2010 Maintenance 0.1-2
- Added most of the useful settings to the Ethernet management defines.
- Thu Jan 28 2010 Trevor Vaughan tvaughan@onyxpoint.com - 0.1-1
- Enabled network bridge creation and application. You must specify a bridge together with a bridged interface for this to work correctly. Not doing this may kill your network connection.
- Added the $delay option to the add_eth define to support bridging dhcp.
- Fixed the add_eth define to include NETWORK instead of NETWORKING.
Dependencies
- puppetlabs/stdlib (>= 8.0.0 < 10.0.0)
- puppetlabs/concat (>= 6.4.0 < 10.0.0)
- simp-simplib (>= 4.9.0 < 5.0.0)
pupmod-simp-network - A Puppet Module for managing Network Settings -- Per Section 105 of the Copyright Act of 1976, these works are not entitled to domestic copyright protection under US Federal law. The US Government retains the right to pursue copyright protections outside of the United States. The United States Government has unlimited rights in this software and all derivatives thereof, pursuant to the contracts under which it was developed and the License under which it falls. --- Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.