summaryrefslogtreecommitdiff
path: root/lib/chef/resource/git.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/git.rb')
-rw-r--r--lib/chef/resource/git.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/resource/git.rb b/lib/chef/resource/git.rb
index 774bb24f24..7156873315 100644
--- a/lib/chef/resource/git.rb
+++ b/lib/chef/resource/git.rb
@@ -22,10 +22,11 @@ class Chef
class Resource
class Git < Chef::Resource::Scm
+ provides :git
+
def initialize(name, run_context=nil)
super
@resource_name = :git
- @provider = Chef::Provider::Git
@additional_remotes = Hash[]
end