cookbook 'network_interfaces', '= 2.0.1'
network_interfaces (11) Versions 2.0.1 Follow11
Installs/Configures network on Ubuntu and Debian
cookbook 'network_interfaces', '= 2.0.1', :supermarket
knife supermarket install network_interfaces
knife supermarket download network_interfaces
network_interfaces
Description
Manage /etc/network/interfaces
on Debian/Ubuntu
Attributes
-
node['network_interfaces']['replace_orig']
- Replaces/etc/network/interfaces
if set totrue
Usage
example for a bridge with pre-up and pre-down script :
include_recipe 'network_interfaces' network_interfaces 'br-test' do target '172.16.88.2' mask '255.255.255.0' bridge [ 'none' ] pre_up 'cat /tmp/iptables-create | iptables-restore -n' post_down 'cat /tmp/iptables-delete | iptables-restore -n' end
More documentation later.
Dependent cookbooks
modules >= 0.1.2 |
line ~> 4.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
network_interface
2.0.1 - 2021-08-30
- Standardise files with files in sous-chefs/repo-management
2.0.0 - 2021-06-30
- Fix typo between
interfaces.erb
template andnetwork_interfaces
resource property (h/t @Fuuzetsu) - Drop Travis CI in favor of GitHub Actions
- Drop support for Debian < 8
- Drop support for Ubuntu < 18.04
- Ubuntu 20.04 is TBD on support b/c of changes to how
/etc/network
works
- Ubuntu 20.04 is TBD on support b/c of changes to how
- Standardize on current filenames for support files
- Update metadata & authors to reflect current maintainers & recent authors
- Update ChefSpec syntax per current standards
- Add EditorConfig for Markdown files
- Upgrade to
line
v4.x - Refactor to Chef 12 resource
1.0.2 - 2021-06-01
- resolved cookstyle error: Berksfile:1:1 refactor:
ChefModernize/LegacyBerksfileSource
- resolved cookstyle error: libraries/matchers.rb:1:1 refactor:
ChefModernize/DefinesChefSpecMatchers
- resolved cookstyle error: metadata.rb:6:1 refactor:
ChefRedundantCode/LongDescriptionMetadata
- resolved cookstyle error: providers/default.rb:1:1 refactor:
ChefModernize/WhyRunSupportedTrue
- resolved cookstyle error: providers/default.rb:5:1 warning:
ChefDeprecations/UseInlineResourcesDefined
- resolved cookstyle error: providers/default.rb:8:8 warning:
ChefDeprecations/NodeSet
- resolved cookstyle error: recipes/default.rb:2:1 refactor:
ChefStyle/CommentFormat
- resolved cookstyle error: recipes/default.rb:8:1 refactor:
ChefStyle/CommentFormat
- resolved cookstyle error: recipes/default.rb:9:1 refactor:
ChefStyle/CommentFormat
- resolved cookstyle error: recipes/default.rb:25:6 warning:
ChefDeprecations/NodeSet
- Add custom matchers for
network_interface
LWRP (#21) - Drop very old Debian support (#14)
- Refactor linting, syntax checking, and unit testing (#29)
- Includes a tweak to work on Ubuntu 16.04
- Updates testing to latest two versions of Debian & Ubuntu
- Add features & better errors to LWRP (#30)
- Add support for the
allow-hotplug
stanza mainly used in Debian.
v1.0.0 - 2014-03-03
- Bump version to 1.0.0 to reflect production-level usage
- Adjust support to be Ubuntu >= 12.04
- Add more comprehensive testing, using:
- Rubocop
- Foodcritic (just cleaned things up)
- Test Kitchen (integration tests!)
- Cleaned up some lingering Foodcritic issues
- LWRP notifications
- Unknown resource attributes due to slightly funky syntax
- Satisfied Rubocop with some comments
- Fixed syntax error introduced in 0.3.1 with the ternary
- Add Ruby 2.x testing to Travis config
- Fix issue with ever-expanding
node['network_interfaces']['order']
v0.3.1 - 2014-02-24
- Clean up code, following Rubocop’s suggestions
v0.3.0 - 2013-11-13
- Refactor & streamline much of the code
v0.2.2 - 2014-02-07
- fix foodcritic
- fix directory permissions
v0.2.0 - 2013-04-04
- Initial changelog
Collaborator Number Metric
2.0.1 passed this metric
Contributing File Metric
2.0.1 passed this metric
Foodcritic Metric
2.0.1 passed this metric
No Binaries Metric
2.0.1 passed this metric
Testing File Metric
2.0.1 passed this metric
Version Tag Metric
2.0.1 passed this metric
2.0.1 passed this metric
2.0.1 passed this metric
Foodcritic Metric
2.0.1 passed this metric
No Binaries Metric
2.0.1 passed this metric
Testing File Metric
2.0.1 passed this metric
Version Tag Metric
2.0.1 passed this metric
2.0.1 passed this metric
2.0.1 passed this metric
Testing File Metric
2.0.1 passed this metric
Version Tag Metric
2.0.1 passed this metric
2.0.1 passed this metric
2.0.1 passed this metric