Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,8 @@
# Path to the source for public files
# @param manage_logrotate
# Boolean that allows disabling management of logrotate
# @param git_proxy
# http proxy, if any, used to download git repos via vcsrepo
#
class openondemand (
# repos
Expand Down Expand Up @@ -386,6 +388,7 @@
Optional[String] $apps_config_repo = undef,
Optional[String] $apps_config_revision = undef,
String $apps_config_repo_path = '', # lint:ignore:params_empty_string_assignment
Optional[String[1]] $git_proxy = undef,
Optional[String] $locales_config_repo_path = undef,
Optional[String] $announcements_config_repo_path = undef,

Expand Down
11 changes: 6 additions & 5 deletions manifests/install/app.pp
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,12 @@

if $git_repo {
vcsrepo { $_path:
ensure => $ensure,
source => $git_repo,
revision => $git_revision,
provider => 'git',
require => Package['ondemand'],
ensure => $ensure,
source => $git_repo,
revision => $git_revision,
provider => 'git',
http_proxy => $openondemand::git_proxy,
require => Package['ondemand'],
}
}

Expand Down