summaryrefslogtreecommitdiff
path: root/examples/git.pp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/git.pp')
-rw-r--r--examples/git.pp15
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/git.pp b/examples/git.pp
new file mode 100644
index 0000000..7763a91
--- /dev/null
+++ b/examples/git.pp
@@ -0,0 +1,15 @@
+vcsrepo { "/tmp/vcstest-git-bare":
+ ensure => bare,
+ provider => git
+}
+
+vcsrepo { "/tmp/vcstest-git-wc":
+ ensure => present,
+ provider => git
+}
+
+vcsrepo { "/tmp/vcstest-git-clone":
+ ensure => present,
+ provider => git,
+ source => "git://github.com/bruce/rtex.git"
+}