summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2016-09-14 14:11:49 -0700
committerTim Smith <tsmith@chef.io>2016-09-14 14:11:49 -0700
commit6fc09c47b465c89de988cc39c52da157ec0a51d7 (patch)
treec9880c4333fb6e45120840029d8dcdce11de9a4f
parent3faabd74883c5f5d8b311478b86e37c120ebe4d1 (diff)
downloadchef-6fc09c47b465c89de988cc39c52da157ec0a51d7.tar.gz
Allow the :delete action for yum_repository
We weren't allowing the actual action to work. Oops Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--lib/chef/resource/yum_repository.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/yum_repository.rb b/lib/chef/resource/yum_repository.rb
index 4b3c6edfb7..e8062d0b04 100644
--- a/lib/chef/resource/yum_repository.rb
+++ b/lib/chef/resource/yum_repository.rb
@@ -70,7 +70,7 @@ class Chef
property :options, Hash
default_action :create
- allowed_actions :create, :remove, :make_cache, :add
+ allowed_actions :create, :remove, :make_cache, :add, :delete
end
end
end