Add some example files
authorBruce Williams <bruce@codefluency.com>
Sat, 13 Mar 2010 20:13:42 +0000 (12:13 -0800)
committerBruce Williams <bruce@codefluency.com>
Sat, 13 Mar 2010 20:13:42 +0000 (12:13 -0800)
examples/cvs.pp [new file with mode: 0644]
examples/git.pp [new file with mode: 0644]
examples/svn.pp [new file with mode: 0644]

diff --git a/examples/cvs.pp b/examples/cvs.pp
new file mode 100644 (file)
index 0000000..a3b9685
--- /dev/null
@@ -0,0 +1,17 @@
+vcsrepo { "/tmp/vcstest-cvs-repo":
+  ensure => present,
+  provider => cvs
+}
+
+vcsrepo { "/tmp/vcstest-cvs-workspace-local":
+  ensure => present,
+  provider => cvs,
+  source => "/tmp/vcstest-cvs-repo",
+  require => Vcsrepo["/tmp/vcstest-cvs-repo"]
+}
+
+vcsrepo { "/tmp/vcstest-cvs-workspace-remote":
+  ensure => present,
+  provider => cvs,
+  source => ":pserver:anonymous@cvs.sv.gnu.org:/sources/leetcvrt"
+}
diff --git a/examples/git.pp b/examples/git.pp
new file mode 100644 (file)
index 0000000..7763a91
--- /dev/null
@@ -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"
+} 
diff --git a/examples/svn.pp b/examples/svn.pp
new file mode 100644 (file)
index 0000000..b48415b
--- /dev/null
@@ -0,0 +1,4 @@
+vcsrepo { "/tmp/vcstest-svn-server":
+  ensure => present,
+  provider => svn
+}