Michael Hall

pdxmph

10,341 downloads

10,088 latest version

1.5 quality score

Version information

  • 1.0.1 (latest)
  • 1.0.0
released Nov 10th 2012

Start using this module

Documentation

pdxmph/subversion — version 1.0.1 Nov 10th 2012

Subversion

Released 20110608 - Craig Dunn - GPLv2
Patched to include --no-auth-cache option 20121109 - Michael Hall pdxmph@gmail.com

Definition: svn::checkout

Check out a subversion repository to a working directory

Parameters:

$repopath - Path to the repository
$workingdir - Local working directory to checkout to
$ensure (optional) - Set to updated to ensure latest svn update
$host (optional) - Subversion server hostname
$method (optional) - Protocol to use (http,https,svn..etc)
$svnuser (optional) - Username to connect with
$password (optional) - Password to connect with
$revision (optional) - Revision to check out
$trustcert (optional) - Use --trust-server-cert
$noauthcache (optional) - Use --no-auth-cache

Sample usage:

subversion::checkout { "application/trunk": 
    repopath    => "/app/trunk",
    workingdir  => "/var/src/app",
    host        => "subversion.local",
    method      => "http",
    svnuser     => "application",
    password    => "kjhsdfkj",
    require     => File["/var/src/app"],
}