Make the git source uri configurable
In some cases it may be useful to set the git source uri to use a different protocol (such as when using an http proxy) or another host (such as a local mirror). Allow passing a parameter to set the source uri to clone from. Change-Id: Id3696bbb4c70610ed8d3402ae207334bb7b3f234
This commit is contained in:
parent
69ed382677
commit
5b56c08385
|
@ -9,6 +9,7 @@ class hound (
|
|||
$serveraliases = undef,
|
||||
$vhost_name = $::fqdn,
|
||||
$ulimit_max_open_files = 2048,
|
||||
$git_source_uri = 'git://github.com/etsy/Hound.git',
|
||||
) {
|
||||
|
||||
package { 'golang':
|
||||
|
@ -56,7 +57,7 @@ class hound (
|
|||
vcsrepo { '/home/hound/src/github.com/etsy/hound':
|
||||
ensure => latest,
|
||||
provider => git,
|
||||
source => 'git://github.com/etsy/Hound.git',
|
||||
source => $git_source_uri,
|
||||
notify => Exec['build_hound'],
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue