summaryrefslogtreecommitdiff
path: root/lib/chef/resource/apt_preference.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2017-12-19 11:22:19 -0800
committerTim Smith <tsmith@chef.io>2017-12-19 11:22:19 -0800
commit034f00f6c466c3924e5fdb069b484d1961283c76 (patch)
treee2f6d9b911c838df661d1bd9cd643858a19847b9 /lib/chef/resource/apt_preference.rb
parentfc813e21f253d5278cb42710874a34cfebfcc8ca (diff)
downloadchef-034f00f6c466c3924e5fdb069b484d1961283c76.tar.gz
Add descriptions and @since comments to all resources
From the docs site Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/resource/apt_preference.rb')
-rw-r--r--lib/chef/resource/apt_preference.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/chef/resource/apt_preference.rb b/lib/chef/resource/apt_preference.rb
index 603766d76b..87c5a5a016 100644
--- a/lib/chef/resource/apt_preference.rb
+++ b/lib/chef/resource/apt_preference.rb
@@ -20,6 +20,10 @@ require "chef/resource"
class Chef
class Resource
+ # The apt_preference resource allows for the creation of APT preference files. Preference files are used to control
+ # which package versions and sources are prioritized during installation.
+ #
+ # @since 13.3
class AptPreference < Chef::Resource
resource_name :apt_preference
provides :apt_preference