summaryrefslogtreecommitdiff
path: root/lib/chef/provider/apt_update.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2017-09-14 18:58:33 -0700
committerTim Smith <tsmith@chef.io>2017-09-14 20:15:22 -0700
commitab50e36aa0f66a072ebe92cc85a2fcc8bced40e8 (patch)
treeb1fb39c438b4727a2f2b596d16f7efa0349834fe /lib/chef/provider/apt_update.rb
parent114c7786670c180c15cfc152432a7df1c0b1fc52 (diff)
downloadchef-ab50e36aa0f66a072ebe92cc85a2fcc8bced40e8.tar.gz
Remove the usage of an array for the platform_familyapt_resources
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/provider/apt_update.rb')
-rw-r--r--lib/chef/provider/apt_update.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/apt_update.rb b/lib/chef/provider/apt_update.rb
index b0a04a95e4..bfd9603e4e 100644
--- a/lib/chef/provider/apt_update.rb
+++ b/lib/chef/provider/apt_update.rb
@@ -23,7 +23,7 @@ require "chef/dsl/declare_resource"
class Chef
class Provider
class AptUpdate < Chef::Provider
- provides :apt_update, os: "linux", platform_family: [ "debian" ]
+ provides :apt_update, os: "linux", platform_family: "debian"
APT_CONF_DIR = "/etc/apt/apt.conf.d"
STAMP_DIR = "/var/lib/apt/periodic"