Working Bazaar support & docs

This commit is contained in:
Bruce Williams 2010-03-14 01:19:13 -08:00
parent 3ba51924b6
commit 67aa190396
3 changed files with 48 additions and 0 deletions

38
README.BZR.markdown Normal file
View File

@ -0,0 +1,38 @@
Using vcsrepo with Bazaar
=========================
To create a blank repository
----------------------------
Define a `vcsrepo` without a `source` or `revision`:
vcsrepo { "/path/to/repo":
ensure => present,
provider => bzr
}
To branch from an existing repository
-------------------------------------:
Provide the `source` location:
vcsrepo { "/path/to/repo":
ensure => present,
provider => bzr,
source => 'lp:myproj'
}
For a specific revision, use `revision` with a valid revisionspec
(see `bzr help revisionspec` for more information on formatting a revision):
vcsrepo { "/path/to/repo":
ensure => present,
provider => bzr,
source => 'lp:myproj',
revision => 'menesis@pov.lt-20100309191856-4wmfqzc803fj300x'
}
More Examples
-------------
For examples you can run, see `examples/bzr/`

6
examples/bzr/branch.pp Normal file
View File

@ -0,0 +1,6 @@
vcsrepo { "/tmp/vcstest-bzr-branch":
ensure => present,
provider => bzr,
source => 'lp:do',
revision => '1312'
}

View File

@ -0,0 +1,4 @@
vcsrepo { "/tmp/vcstest-bzr-init":
ensure => present,
provider => bzr
}