summaryrefslogtreecommitdiff
path: root/lib/puppet/provider/vcsrepo/git.rb
diff options
context:
space:
mode:
authorKen Barber <ken@bob.sh>2011-11-03 13:00:05 -0700
committerKen Barber <ken@bob.sh>2011-11-03 13:00:05 -0700
commit8e16891d95c58408ae78f05824da0169723d2226 (patch)
treeb70c64e6e3a33a1fd5d5d77383c973cdf218673a /lib/puppet/provider/vcsrepo/git.rb
parent2723cbcd6ebca42471ee311420ec32afafcdad18 (diff)
parent18c039c8d169000c0d49a6d0b941f6f66ac1d7cb (diff)
Merge pull request #9 from webfactory/topic_optional_commands
Fix (#10440) by making all commands optional
Diffstat (limited to 'lib/puppet/provider/vcsrepo/git.rb')
-rw-r--r--lib/puppet/provider/vcsrepo/git.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/provider/vcsrepo/git.rb b/lib/puppet/provider/vcsrepo/git.rb
index 6756fc0..51e48a9 100644
--- a/lib/puppet/provider/vcsrepo/git.rb
+++ b/lib/puppet/provider/vcsrepo/git.rb
@@ -4,7 +4,7 @@ Puppet::Type.type(:vcsrepo).provide(:git, :parent => Puppet::Provider::Vcsrepo)
desc "Supports Git repositories"
##TODO modify the commands below so that the su - is included
- commands :git => 'git'
+ optional_commands :git => 'git'
defaultfor :git => :exists
has_features :bare_repositories, :reference_tracking, :ssh_identity