Module puppetlabs/vcsrepo
| Download |
|
Module description
A module that provides the vcsrepo type and providers. This type manages version control checkouts and repositories for Git, BZR, Subversion, and CVS
Release notes for version 0.0.4
- Incremented version to 0.0.4
- Fixed Bug #9219 - vcsrepo updates too often
- Adding SVN basic_auth feature and adding –non-interactive to all svn command
- Add identity support for git provider, fix a couple bugs
- Updated for ruby 1.9. Not sure how important this actually is. Works on both now.
- Add an identity param, respected by the git provider, to use a non-standard ssh identity file
- Fix (#7797) Makes git tags actually work.
- Fix #7534: provider.revision should not get called when repo doesn’t exist.
- git: Update submodules recursively
- git.rb: update_references before touching tags. tags created since last vcsrepo run fail otherwise
- support setting the owner/group in hg provider
- support recursive chown on repo
- support checking out tags (git)
- support adding excludes/ignored files
Types
vcsrepo
Description
A local version control repository
Parameters
- path
Absolute path to repository
- source
The source URI for the repository
- fstype
Filesystem type Requires features filesystem_types.
- owner
The user/uid that owns the repository files
- group
The group/gid that owns the repository files
- excludes
Files to be excluded from the repository
- force
Force repository creation, destroying any files on the path in the process. Valid values are
true,false.
- compression
Compression level Requires features gzip_compression.
- basic_auth_username
HTTP Basic Auth username Requires features basic_auth.
- basic_auth_password
HTTP Basic Auth password Requires features basic_auth.
- identity
SSH identity file Requires features ssh_identity.
Properties
- ensure
Valid values are
present,bare,absent,latest.
- revision
The revision of the repository Values can match
/^\S+$/.
Providers
- bzr
Supports Bazaar repositories Required binaries:
bzr. Default forbzr==exists. Supported features:reference_tracking.
- cvs
Supports CVS repositories/workspaces Required binaries:
cvs. Default forcvs==exists. Supported features:gzip_compression,reference_tracking.
- git
Supports Git repositories Required binaries:
git. Default forgit==exists. Supported features:bare_repositories,reference_tracking,ssh_identity.
- hg
Supports Mercurial repositories Required binaries:
hg. Default forhg==exists. Supported features:reference_tracking.
- svn
Supports Subversion repositories Required binaries:
svn,svnadmin. Default forsvn==exists. Supported features:basic_auth,filesystem_types,reference_tracking.