File tree 1 file changed +10
-1
lines changed
1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 11
11
# A load balancer address directing traffic to any of the "B" pool
12
12
# compilers. This is used for DR configuration in large and extra large
13
13
# architectures.
14
+ # @param pe_installer_source
15
+ # The URL to download the Puppet Enterprise installer media from. If not
16
+ # specified, PEAdm will attempt to download PE installation media from its
17
+ # standard public source. When specified, PEAdm will download directly from the
18
+ # URL given.
14
19
#
15
20
plan peadm::upgrade (
16
21
# Standard
26
31
27
32
# Common Configuration
28
33
Peadm::Pe_version $version ,
34
+ Optional[String] $pe_installer_source = undef ,
29
35
Optional[String] $compiler_pool_address = undef ,
30
36
Optional[String] $internal_compiler_a_pool_address = undef ,
31
37
Optional[String] $internal_compiler_b_pool_address = undef ,
121
127
122
128
$platform = run_task(' peadm::precheck' , $primary_target ).first[' platform' ]
123
129
$tarball_filename = " puppet-enterprise-${version} -${platform} .tar.gz"
124
- $tarball_source = " https://s3.amazonaws.com/pe-builds/released/${version} /${tarball_filename} "
130
+ $tarball_source = $pe_installer_source ? {
131
+ undef => " https://s3.amazonaws.com/pe-builds/released/${version} /${pe_tarball_name} " ,
132
+ default => $pe_installer_source ,
133
+ }
125
134
$upload_tarball_path = " /tmp/${tarball_filename} "
126
135
127
136
peadm::plan_step(' preparation' ) || {
You can’t perform that action at this time.
0 commit comments