summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/git/shallow-clone-with-just-one-commit.pp7
1 files changed, 7 insertions, 0 deletions
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,
+}