summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2017-12-15 11:40:07 -0800
committerTim Smith <tsmith@chef.io>2017-12-15 11:40:31 -0800
commitc976a3b545216121ce59cad940f5baff1207dca6 (patch)
treec97eb1f6e83b3c1203ae8499c98876c5f2fb8132
parent731a3a82fe95324f5f9eb9791ef8d2ad54b52beb (diff)
downloadchef-c976a3b545216121ce59cad940f5baff1207dca6.tar.gz
Remove extra provides from apt_preference / apt_repository / apt_update
We already name the resources. Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--lib/chef/resource/apt_preference.rb1
-rw-r--r--lib/chef/resource/apt_repository.rb1
-rw-r--r--lib/chef/resource/apt_update.rb1
3 files changed, 0 insertions, 3 deletions
diff --git a/lib/chef/resource/apt_preference.rb b/lib/chef/resource/apt_preference.rb
index 603766d76b..f0106ec09d 100644
--- a/lib/chef/resource/apt_preference.rb
+++ b/lib/chef/resource/apt_preference.rb
@@ -22,7 +22,6 @@ class Chef
class Resource
class AptPreference < Chef::Resource
resource_name :apt_preference
- provides :apt_preference
property :package_name, String, name_property: true, regex: [/^([a-z]|[A-Z]|[0-9]|_|-|\.|\*|\+)+$/]
property :glob, String
diff --git a/lib/chef/resource/apt_repository.rb b/lib/chef/resource/apt_repository.rb
index 8b69435246..50e8680590 100644
--- a/lib/chef/resource/apt_repository.rb
+++ b/lib/chef/resource/apt_repository.rb
@@ -22,7 +22,6 @@ class Chef
class Resource
class AptRepository < Chef::Resource
resource_name :apt_repository
- provides :apt_repository
property :repo_name, String, name_property: true
property :uri, String
diff --git a/lib/chef/resource/apt_update.rb b/lib/chef/resource/apt_update.rb
index 67ca7fbfea..b3103b3cbf 100644
--- a/lib/chef/resource/apt_update.rb
+++ b/lib/chef/resource/apt_update.rb
@@ -22,7 +22,6 @@ class Chef
class Resource
class AptUpdate < Chef::Resource
resource_name :apt_update
- provides :apt_update
# allow bare apt_update with no name
property :name, String, default: ""