puppetlabs/puppetlabs-vcsrepo — pull request #114 by freyes (2014-01-06 20:13:25+00:00)
Title: Add the option to shallow clones with git

The new parameter used to indicate that you want a shallow clone is `:depth`

This is particularly useful for big repositories or trying to clone over slow connections, I'm dealing with both problems at the moment.

Another scenario where this functionality comes handy is when you're testing puppet recipes inside vagrant, for big repos this will speed up your jobs.