diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2017-03-30 12:24:56 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2017-03-30 12:24:56 -0700 |
commit | de209e6ee12939f641ec0ed002c2d3506abaafe7 (patch) | |
tree | 0a6b37f0519a71444250c5ffd84d3df89649228d /lib/chef/resource/apt_update.rb | |
parent | 5584126a725ab72c24ea610328f56a905986295b (diff) | |
download | chef-de209e6ee12939f641ec0ed002c2d3506abaafe7.tar.gz |
make nameless properties opt-in
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/resource/apt_update.rb')
-rw-r--r-- | lib/chef/resource/apt_update.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/chef/resource/apt_update.rb b/lib/chef/resource/apt_update.rb index 1a25ec2ef5..67ca7fbfea 100644 --- a/lib/chef/resource/apt_update.rb +++ b/lib/chef/resource/apt_update.rb @@ -1,6 +1,6 @@ # # Author:: Thom May (<thom@chef.io>) -# Copyright:: Copyright (c) 2016 Chef Software, Inc. +# Copyright:: Copyright (c) 2016-2017, Chef Software Inc. # License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -24,6 +24,8 @@ class Chef resource_name :apt_update provides :apt_update + # allow bare apt_update with no name + property :name, String, default: "" property :frequency, Integer, default: 86_400 default_action :periodic |