Add mirror option for git cloning
authorStrech (Sergey Fedorov) <oni.strech@gmail.com>
Tue, 22 Dec 2015 22:02:26 +0000 (23:02 +0100)
committerStrech (Sergey Fedorov) <oni.strech@gmail.com>
Tue, 22 Dec 2015 22:02:26 +0000 (23:02 +0100)
commitb8f25cea95317a4b2a622e2799f1aa7ba159bdca
treeb25b192cfe2c2c37215d65c0eb63bed7b8bccf4b
parent268e599839f86f7d5dd4352e73c0f698dc4b0c18
Add mirror option for git cloning

Example:

vcsrepo { '/path/to/repo':
  ensure   => mirror,
  provider => git,
  source   => 'git://example.com/repo.git',
}
README.markdown
lib/puppet/provider/vcsrepo/git.rb
lib/puppet/type/vcsrepo.rb
spec/unit/puppet/provider/vcsrepo/git_spec.rb