Resource types
vcsrepo
: A local version control repository
A local version control repository
The following properties are available in the vcsrepo
type.
Valid values: present, bare, mirror, absent, latest
Ensure the version control repository.
The source URI for the repository
Valid values: %r{^\S+$}
The revision of the repository
Paths to be included from the repository
The repository module to manage
The following parameters are available in the vcsrepo
type.
namevar
Absolute path to repository
Filesystem type
The user/uid that owns the repository files
The group/gid that owns the repository files
The user to run for repository operations
Local paths which shouldn't be tracked by the repository
Valid values: true
, false
, yes, no
Force repository creation, destroying any files on the path in the process.
Default value: false
Compression level
HTTP Basic Auth username
HTTP Basic Auth password
SSH identity file
The remote repository to track
Default value: origin
The configuration directory to use
The value to be used for the CVS_RSH environment variable.
The value to be used to do a shallow clone.
The name of the branch to clone.
The Perforce P4CONFIG environment.
Valid values: true
, false
Initialize and update each submodule in the repository.
Default value: true
The action to take if conflicts exist between repository and working copy
Valid values: true
, false
Trust server certificate
Default value: false