diff options
author | Tim Smith <tsmith@chef.io> | 2018-02-13 16:34:47 +0000 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-02-14 11:37:36 -0800 |
commit | 5c2b9e201f65d04252a86b1ad89d756f3e73792f (patch) | |
tree | 7eaa3b8131eef7afa79422a79b0219021a5972b6 /lib/chef/resource/apt_update.rb | |
parent | c563a379b2ac9a47f5bd5c9e0c40bebed86aae8c (diff) | |
download | chef-5c2b9e201f65d04252a86b1ad89d756f3e73792f.tar.gz |
Add new introduced and description resource properties to many resource
Not all of them, but a good chunk.
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/resource/apt_update.rb')
-rw-r--r-- | lib/chef/resource/apt_update.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/chef/resource/apt_update.rb b/lib/chef/resource/apt_update.rb index 0349614ad2..378edd2170 100644 --- a/lib/chef/resource/apt_update.rb +++ b/lib/chef/resource/apt_update.rb @@ -20,13 +20,14 @@ require "chef/resource" class Chef class Resource - # Use the apt_update resource to manage APT repository updates on Debian and Ubuntu platforms. - # - # @since 12.7 class AptUpdate < Chef::Resource resource_name :apt_update provides :apt_update + description "Use the apt_update resource to manage APT repository updates on"\ + " Debian and Ubuntu platforms." + introduced "12.7" + # allow bare apt_update with no name property :name, String, default: "" property :frequency, Integer, default: 86_400 |