diff options
Diffstat (limited to 'lib/chef/provider/apt_update.rb')
-rw-r--r-- | lib/chef/provider/apt_update.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/apt_update.rb b/lib/chef/provider/apt_update.rb index 7ba7c16b9f..8914d5412b 100644 --- a/lib/chef/provider/apt_update.rb +++ b/lib/chef/provider/apt_update.rb @@ -31,7 +31,7 @@ class Chef def load_current_resource; end action :periodic do - if !apt_up_to_date? + unless apt_up_to_date? converge_by "update new lists of packages" do do_update end |