1 Using vcsrepo with Bazaar
2 =========================
4 To create a blank repository
5 ----------------------------
7 Define a `vcsrepo` without a `source` or `revision`:
9 vcsrepo { "/path/to/repo":
14 To branch from an existing repository
15 -------------------------------------
17 Provide the `source` location:
19 vcsrepo { "/path/to/repo":
25 For a specific revision, use `revision` with a valid revisionspec
26 (see `bzr help revisionspec` for more information on formatting a revision):
28 vcsrepo { "/path/to/repo":
31 source => 'lp:myproj',
32 revision => 'menesis@pov.lt-20100309191856-4wmfqzc803fj300x'
35 For sources that use SSH (eg, `bzr+ssh://...`, `sftp://...`)
36 ------------------------------------------------------------
38 Manage your SSH keys with Puppet and use `require` in your `vcsrepo`
39 to ensure they are present. For more information, see the `require`
40 metaparameter documentation[1].
45 For examples you can run, see `examples/bzr/`
47 [1]: http://docs.puppetlabs.com/references/stable/metaparameter.html#require