summaryrefslogtreecommitdiff
path: root/lib/chef/resource/apt_update.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/apt_update.rb')
-rw-r--r--lib/chef/resource/apt_update.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/apt_update.rb b/lib/chef/resource/apt_update.rb
index e5f75143bb..e3a4f26cf2 100644
--- a/lib/chef/resource/apt_update.rb
+++ b/lib/chef/resource/apt_update.rb
@@ -52,7 +52,7 @@ class Chef
default: 86_400
default_action :periodic
- allowed_actions :update, :periodic
+ actions :update, :periodic
action_class do
APT_CONF_DIR = "/etc/apt/apt.conf.d".freeze