diff options
author | Bruce Williams <bruce@codefluency.com> | 2010-03-13 12:13:42 -0800 |
---|---|---|
committer | Bruce Williams <bruce@codefluency.com> | 2010-03-13 12:13:42 -0800 |
commit | d95b03e400c7c2c198a7a5ffcf4fe134e665a315 (patch) | |
tree | 6353019f466fa1cf19c18d88c7b7994d2c82e6d0 /examples | |
parent | 2926aca2e482b00ecaa616003f1096578f93c035 (diff) |
Add some example files
Diffstat (limited to 'examples')
-rw-r--r-- | examples/cvs.pp | 17 | ||||
-rw-r--r-- | examples/git.pp | 15 | ||||
-rw-r--r-- | examples/svn.pp | 4 |
3 files changed, 36 insertions, 0 deletions
diff --git a/examples/cvs.pp b/examples/cvs.pp new file mode 100644 index 0000000..a3b9685 --- /dev/null +++ b/examples/cvs.pp @@ -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 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" +} diff --git a/examples/svn.pp b/examples/svn.pp new file mode 100644 index 0000000..b48415b --- /dev/null +++ b/examples/svn.pp @@ -0,0 +1,4 @@ +vcsrepo { "/tmp/vcstest-svn-server": + ensure => present, + provider => svn +} |