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.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/git.rb b/lib/chef/resource/git.rb
index 927bde5073..1229914766 100644
--- a/lib/chef/resource/git.rb
+++ b/lib/chef/resource/git.rb
@@ -22,7 +22,7 @@ class Chef
class Resource
class Git < Chef::Resource::Scm
- resource_name :git
+ use_automatic_resource_name
def initialize(name, run_context=nil)
super