Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F8394256
README.BZR.markdown
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
README.BZR.markdown
View Options
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'
}
For sources that use SSH (eg, `bzr+ssh://...`, `sftp://...`)
------------------------------------------------------------
Manage your SSH keys with Puppet and use
`require`
in your
`vcsrepo`
to ensure they are present. For more information, see the
`require`
metaparameter documentation[1].
More Examples
-------------
For examples you can run, see
`examples/bzr/`
[
1
]:
http://docs.reductivelabs.com/references/stable/metaparameter.html#require
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Jun 4 2025, 7:23 PM (9 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3279570
Attached To
R119 Support for source control repositories
Event Timeline
Log In to Comment