Skip to content

Instantly share code, notes, and snippets.

@gumayunov
Created July 25, 2012 12:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gumayunov/3175859 to your computer and use it in GitHub Desktop.
Save gumayunov/3175859 to your computer and use it in GitHub Desktop.
class ::Chef::Provider::HttpRequest < Chef::Provider
def load_current_resource
Chef::Log.debug("load_current_resource: #{@new_resource.inspect}")
@rest = Chef::REST.new(@new_resource.url, nil, nil, :disable_gzip => true)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment