4 To create a blank repository
5 ----------------------------
7 Define a `vcsrepo` without a `source` or `revision`:
9 vcsrepo { "/path/to/repo":
14 To checkout/update from a repository
15 ------------------------------------
17 To get the current mainline:
19 vcsrepo { "/path/to/workspace":
22 source => ":pserver:anonymous@example.com:/sources/myproj"
25 You can use the `compression` parameter (it works like CVS `-z`):
27 vcsrepo { "/path/to/workspace":
31 source => ":pserver:anonymous@example.com:/sources/myproj"
34 For a specific tag, use `revision`:
36 vcsrepo { "/path/to/workspace":
40 source => ":pserver:anonymous@example.com:/sources/myproj",
44 For sources that use SSH
45 ------------------------
47 Manage your SSH keys with Puppet and use `require` in your `vcsrepo`
48 to ensure they are present. For more information, see the `require`
49 metaparameter documentation[1].
54 For examples you can run, see `examples/cvs/`
56 [1]: http://docs.puppetlabs.com/references/stable/metaparameter.html#require