diff options
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 |