summaryrefslogtreecommitdiff
path: root/examples/git.pp
diff options
context:
space:
mode:
authorBruce Williams <bruce@codefluency.com>2010-03-13 12:13:42 -0800
committerBruce Williams <bruce@codefluency.com>2010-03-13 12:13:42 -0800
commitd95b03e400c7c2c198a7a5ffcf4fe134e665a315 (patch)
tree6353019f466fa1cf19c18d88c7b7994d2c82e6d0 /examples/git.pp
parent2926aca2e482b00ecaa616003f1096578f93c035 (diff)
Add some example files
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"
+}