From dc1f92fe2b4e3dd9a54f3e45e1ae052b9f8e921e Mon Sep 17 00:00:00 2001 From: Włodzimierz Gajda Date: Wed, 26 Aug 2015 17:10:56 +0200 Subject: Example how to create a shallow clone with just one commit --- examples/git/shallow-clone-with-just-one-commit.pp | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 examples/git/shallow-clone-with-just-one-commit.pp diff --git a/examples/git/shallow-clone-with-just-one-commit.pp b/examples/git/shallow-clone-with-just-one-commit.pp new file mode 100644 index 0000000..cd5a05d --- /dev/null +++ b/examples/git/shallow-clone-with-just-one-commit.pp @@ -0,0 +1,7 @@ +vcsrepo { '/tmp/git': + ensure => 'present', + provider => 'git', + source => 'https://github.com/git/git.git', + branch => 'v2.2.0', + depth => 1, +} -- cgit v1.2.3