summaryrefslogtreecommitdiff
path: root/lib/chef/resource
diff options
context:
space:
mode:
authorThom May <thom@may.lt>2017-07-24 10:04:32 +0100
committerGitHub <noreply@github.com>2017-07-24 10:04:32 +0100
commited5ee65760bd2dd5e47b0b1613a8e455a3082b1a (patch)
tree1c09de3d72d23c8879b8f8807fba83b7c3514397 /lib/chef/resource
parent20e69231e1bdb153529e19425599b145dd800ffd (diff)
parent788bbff36108a6952da19538150e685ae45694d1 (diff)
downloadchef-ed5ee65760bd2dd5e47b0b1613a8e455a3082b1a.tar.gz
Merge pull request #6131 from jamesbroadhead/add_HTTP_PATCH
Add support for HTTP PATCH requests
Diffstat (limited to 'lib/chef/resource')
-rw-r--r--lib/chef/resource/http_request.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/http_request.rb b/lib/chef/resource/http_request.rb
index fcc48470bc..9fac3562f3 100644
--- a/lib/chef/resource/http_request.rb
+++ b/lib/chef/resource/http_request.rb
@@ -27,7 +27,7 @@ class Chef
identity_attr :url
default_action :get
- allowed_actions :get, :put, :post, :delete, :head, :options
+ allowed_actions :get, :patch, :put, :post, :delete, :head, :options
def initialize(name, run_context = nil)
super