summaryrefslogtreecommitdiff
path: root/examples/git
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/git
parent6adc8745c6565391f5da534306c3ec206da9dc21 (diff)
Support Mercurial tags, restructure examples
Diffstat (limited to 'examples/git')
-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
4 files changed, 13 insertions, 15 deletions
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
+}