summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-03-21 12:12:26 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2016-03-21 13:53:29 -0700
commit92b9ea91bbec9c89ef8c831426a845b27e09ce54 (patch)
tree614e22d3e8f6f2476319603c56046f6d3931e5c9
parentaa2241ab17bc131c80f358f87006099fb108fb04 (diff)
downloadchef-92b9ea91bbec9c89ef8c831426a845b27e09ce54.tar.gz
add back the converge_by text
-rw-r--r--lib/chef/provider/apt_update.rb8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/chef/provider/apt_update.rb b/lib/chef/provider/apt_update.rb
index 542d273339..d13e5d5c72 100644
--- a/lib/chef/provider/apt_update.rb
+++ b/lib/chef/provider/apt_update.rb
@@ -38,12 +38,16 @@ class Chef
action :periodic do
if !apt_up_to_date?
- do_update
+ converge_by "update new lists of packages" do
+ do_update
+ end
end
end
action :update do
- do_update
+ converge_by "force update new lists of packages" do
+ do_update
+ end
end
private