diff options
author | David Schmitt <david.schmitt@puppetlabs.com> | 2015-08-28 10:57:41 +0100 |
---|---|---|
committer | David Schmitt <david.schmitt@puppetlabs.com> | 2015-08-28 10:57:41 +0100 |
commit | 9a0cca837011c8920f2723ecc04ba6c17c9f033a (patch) | |
tree | 226bd22576529bfe7f11b97180968c67e404edae | |
parent | 181e448d234e3ef78481e3f05b5a22e942304fa2 (diff) | |
parent | dc1f92fe2b4e3dd9a54f3e45e1ae052b9f8e921e (diff) | |
download | puppet-vcsrepo-9a0cca837011c8920f2723ecc04ba6c17c9f033a.tar.gz puppet-vcsrepo-9a0cca837011c8920f2723ecc04ba6c17c9f033a.tar.bz2 |
Merge pull request #266 from puppet-by-examples/example-shallow-clone-with-just-one-commit
Example how to create a shallow clone with just one commit
-rw-r--r-- | examples/git/shallow-clone-with-just-one-commit.pp | 7 |
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, +} |