summaryrefslogtreecommitdiff
path: root/lib/chef/resource/apt_update.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-04-26 21:20:37 -0700
committerTim Smith <tsmith@chef.io>2018-04-26 21:20:37 -0700
commitf0db2769459a215a4beeb7b6e6207d7c8a0efed3 (patch)
treec5a40a297892f0bc37b5037d55c5877919f67345 /lib/chef/resource/apt_update.rb
parentd64f00f476c9bbcab8cc8cb3e15c6bd1df2a8761 (diff)
downloadchef-f0db2769459a215a4beeb7b6e6207d7c8a0efed3.tar.gz
Add descriptions to more resources
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.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/resource/apt_update.rb b/lib/chef/resource/apt_update.rb
index a302ff252b..d54ffff1de 100644
--- a/lib/chef/resource/apt_update.rb
+++ b/lib/chef/resource/apt_update.rb
@@ -29,7 +29,8 @@ class Chef
# allow bare apt_update with no name
property :name, String, default: ""
- property :frequency, Integer, default: 86_400
+ property :frequency, Integer,
+ description: "Determines how frequently (in seconds) APT repository updates are made. Use this property when the :periodic action is specified.", default: 86_400
default_action :periodic
allowed_actions :update, :periodic