summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorBruce Williams <bruce@codefluency.com>2010-03-13 17:32:17 -0800
committerBruce Williams <bruce@codefluency.com>2010-03-13 17:32:17 -0800
commitc714947908b69c538ea9d050d4375e2b3f19e7ac (patch)
tree1a464a8d7534e43e30d09dd914cbf231f1a29601 /examples
parent6adc8745c6565391f5da534306c3ec206da9dc21 (diff)
Support Mercurial tags, restructure examples
Diffstat (limited to 'examples')
-rw-r--r--examples/cvs/local.pp (renamed from examples/cvs/init.pp)6
-rw-r--r--examples/cvs/remote.pp5
-rw-r--r--examples/git/bare_init.pp4
-rw-r--r--examples/git/clone.pp5
-rw-r--r--examples/git/init.pp15
-rw-r--r--examples/git/working_copy_init.pp4
-rw-r--r--examples/hg/clone.pp6
-rw-r--r--examples/hg/init.pp11
-rw-r--r--examples/hg/init_repo.pp4
-rw-r--r--examples/svn/checkout.pp6
-rw-r--r--examples/svn/server.pp (renamed from examples/svn/init.pp)0
11 files changed, 34 insertions, 32 deletions
diff --git a/examples/cvs/init.pp b/examples/cvs/local.pp
index a3b9685..290616c 100644
--- a/examples/cvs/init.pp
+++ b/examples/cvs/local.pp
@@ -9,9 +9,3 @@ vcsrepo { "/tmp/vcstest-cvs-workspace-local":
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/cvs/remote.pp b/examples/cvs/remote.pp
new file mode 100644
index 0000000..d5dc702
--- /dev/null
+++ b/examples/cvs/remote.pp
@@ -0,0 +1,5 @@
+vcsrepo { "/tmp/vcstest-cvs-workspace-remote":
+ ensure => present,
+ provider => cvs,
+ source => ":pserver:anonymous@cvs.sv.gnu.org:/sources/leetcvrt"
+}
diff --git a/examples/git/bare_init.pp b/examples/git/bare_init.pp
new file mode 100644
index 0000000..c70e705
--- /dev/null
+++ b/examples/git/bare_init.pp
@@ -0,0 +1,4 @@
+vcsrepo { "/tmp/vcstest-git-bare":
+ ensure => bare,
+ provider => git
+}
diff --git a/examples/git/clone.pp b/examples/git/clone.pp
new file mode 100644
index 0000000..fe706cc
--- /dev/null
+++ b/examples/git/clone.pp
@@ -0,0 +1,5 @@
+vcsrepo { "/tmp/vcstest-git-clone":
+ ensure => present,
+ provider => git,
+ source => "git://github.com/bruce/rtex.git"
+}
diff --git a/examples/git/init.pp b/examples/git/init.pp
deleted file mode 100644
index 7763a91..0000000
--- a/examples/git/init.pp
+++ /dev/null
@@ -1,15 +0,0 @@
-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/git/working_copy_init.pp b/examples/git/working_copy_init.pp
new file mode 100644
index 0000000..f92fbee
--- /dev/null
+++ b/examples/git/working_copy_init.pp
@@ -0,0 +1,4 @@
+vcsrepo { "/tmp/vcstest-git-wc":
+ ensure => present,
+ provider => git
+}
diff --git a/examples/hg/clone.pp b/examples/hg/clone.pp
new file mode 100644
index 0000000..c7a7ab5
--- /dev/null
+++ b/examples/hg/clone.pp
@@ -0,0 +1,6 @@
+vcsrepo { "/tmp/vcstest-hg-clone":
+ ensure => present,
+ provider => hg,
+ source => "http://hg.basho.com/riak",
+ revision => 'riak-0.5.3'
+}
diff --git a/examples/hg/init.pp b/examples/hg/init.pp
deleted file mode 100644
index 620806e..0000000
--- a/examples/hg/init.pp
+++ /dev/null
@@ -1,11 +0,0 @@
-vcsrepo { "/tmp/vcstest-hg-init":
- ensure => present,
- provider => hg
-}
-
-vcsrepo { "/tmp/vcstest-hg-clone":
- ensure => present,
- provider => hg,
- source => "http://hg.basho.com/riak/",
- revision => '34e6012c783a'
-}
diff --git a/examples/hg/init_repo.pp b/examples/hg/init_repo.pp
new file mode 100644
index 0000000..660a78a
--- /dev/null
+++ b/examples/hg/init_repo.pp
@@ -0,0 +1,4 @@
+vcsrepo { "/tmp/vcstest-hg-init":
+ ensure => present,
+ provider => hg
+}
diff --git a/examples/svn/checkout.pp b/examples/svn/checkout.pp
new file mode 100644
index 0000000..10af8a7
--- /dev/null
+++ b/examples/svn/checkout.pp
@@ -0,0 +1,6 @@
+vcsrepo { "/tmp/vcstest-svn-checkout":
+ ensure => present,
+ provider => svn,
+ source => 'http://svn.edgewall.org/repos/babel/trunk'
+}
+
diff --git a/examples/svn/init.pp b/examples/svn/server.pp
index b48415b..b48415b 100644
--- a/examples/svn/init.pp
+++ b/examples/svn/server.pp