diff options
author | Ashley Penney <ashley.penney@puppetlabs.com> | 2013-11-08 09:55:58 -0800 |
---|---|---|
committer | Ashley Penney <ashley.penney@puppetlabs.com> | 2013-11-08 09:55:58 -0800 |
commit | bd58512dbf347993ee7909c8f416a067942cbfe6 (patch) | |
tree | ae85ff3b36b872d39e702ce0a8601b7e739efb8f /lib/puppet/type/vcsrepo.rb | |
parent | f7c05f75468aae0373cb51f27451294497a15bb8 (diff) | |
parent | 2b190756260346931b8f9a0dda8afc0c815710d6 (diff) | |
download | puppet-vcsrepo-bd58512dbf347993ee7909c8f416a067942cbfe6.tar.gz puppet-vcsrepo-bd58512dbf347993ee7909c8f416a067942cbfe6.tar.bz2 |
Merge pull request #98 from reidmv/autorequire_git
Add autorequire for Package['git']
Diffstat (limited to 'lib/puppet/type/vcsrepo.rb')
-rw-r--r-- | lib/puppet/type/vcsrepo.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/puppet/type/vcsrepo.rb b/lib/puppet/type/vcsrepo.rb index 8225721..ad90ced 100644 --- a/lib/puppet/type/vcsrepo.rb +++ b/lib/puppet/type/vcsrepo.rb @@ -191,4 +191,8 @@ Puppet::Type.newtype(:vcsrepo) do desc "The value to be used for the CVS_RSH environment variable." end + autorequire(:package) do + ['git', 'git-core'] + end + end |