diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-10-19 10:03:17 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-10-19 10:03:17 -0700 |
commit | cbc38a447baca083725b905bb84fe96c5eadd1a6 (patch) | |
tree | 729f116a587a8791cba72bd34e2dd11482b363f3 | |
parent | 3826ab23e4687a9d3de98a3741745744f122b840 (diff) | |
download | chef-cbc38a447baca083725b905bb84fe96c5eadd1a6.tar.gz |
Simplify the ifconfig provides statement on Ubuntu/Debian
We don't need to check around ancient EOL versions that we don't provide packages for anymore.
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | lib/chef/provider/ifconfig/debian.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/chef/provider/ifconfig/debian.rb b/lib/chef/provider/ifconfig/debian.rb index 7406ad0228..8715172622 100644 --- a/lib/chef/provider/ifconfig/debian.rb +++ b/lib/chef/provider/ifconfig/debian.rb @@ -23,8 +23,7 @@ class Chef class Provider class Ifconfig class Debian < Chef::Provider::Ifconfig - provides :ifconfig, platform: %w{ubuntu}, platform_version: ">= 11.10" - provides :ifconfig, platform: %w{debian}, platform_version: ">= 7.0" + provides :ifconfig, platform_family: %w{debian} INTERFACES_FILE = "/etc/network/interfaces".freeze INTERFACES_DOT_D_DIR = "/etc/network/interfaces.d".freeze |