|
34 | 34 | * [`peadm::migration_opts_default`](#peadm--migration_opts_default)
|
35 | 35 | * [`peadm::node_manager_yaml_location`](#peadm--node_manager_yaml_location)
|
36 | 36 | * [`peadm::oid`](#peadm--oid)
|
| 37 | +* [`peadm::pe_installer_source`](#peadm--pe_installer_source): calculates the PE installer URL and archive name |
37 | 38 | * [`peadm::plan_step`](#peadm--plan_step)
|
38 | 39 | * [`peadm::recovery_opts_all`](#peadm--recovery_opts_all)
|
39 | 40 | * [`peadm::recovery_opts_default`](#peadm--recovery_opts_default)
|
@@ -805,6 +806,40 @@ Data type: `String`
|
805 | 806 |
|
806 | 807 |
|
807 | 808 |
|
| 809 | +### <a name="peadm--pe_installer_source"></a>`peadm::pe_installer_source` |
| 810 | + |
| 811 | +Type: Puppet Language |
| 812 | + |
| 813 | +calculates the PE installer URL and archive name |
| 814 | + |
| 815 | +#### `peadm::pe_installer_source(Optional[String[1]] $pe_installer_source = undef, Optional[Peadm::Pe_version] $version = undef, Optional[String[1]] $platform = undef)` |
| 816 | + |
| 817 | +The peadm::pe_installer_source function. |
| 818 | + |
| 819 | +Returns: `Hash[String[1],String[1]]` |
| 820 | + |
| 821 | +##### `pe_installer_source` |
| 822 | + |
| 823 | +Data type: `Optional[String[1]]` |
| 824 | + |
| 825 | +The URL to download the Puppet Enterprise installer media from. If not |
| 826 | +specified, PEAdm will attempt to download PE installation media from its |
| 827 | +standard public source. When specified, PEAdm will download directly from the |
| 828 | +URL given. Can be an URL, that ends with a /, to a web directory that |
| 829 | +contains the original archives or an absolute URL to the .tar.gz archive. |
| 830 | + |
| 831 | +##### `version` |
| 832 | + |
| 833 | +Data type: `Optional[Peadm::Pe_version]` |
| 834 | + |
| 835 | +The desired version for PE. This is optional for custom provided absolute URLs. |
| 836 | + |
| 837 | +##### `platform` |
| 838 | + |
| 839 | +Data type: `Optional[String[1]]` |
| 840 | + |
| 841 | +The platform we're on, for example el-9-x86_64 (osfamily short name - version - arch) |
| 842 | + |
808 | 843 | ### <a name="peadm--plan_step"></a>`peadm::plan_step`
|
809 | 844 |
|
810 | 845 | Type: Ruby 4.x API
|
@@ -1862,7 +1897,8 @@ Data type: `Optional[String]`
|
1862 | 1897 | The URL to download the Puppet Enterprise installer media from. If not
|
1863 | 1898 | specified, PEAdm will attempt to download PE installation media from its
|
1864 | 1899 | standard public source. When specified, PEAdm will download directly from the
|
1865 |
| -URL given. |
| 1900 | +URL given. Can be an URL, that ends with a /, to a web directory that |
| 1901 | +contains the original archives or an absolute URL to the .tar.gz archive. |
1866 | 1902 |
|
1867 | 1903 | Default value: `undef`
|
1868 | 1904 |
|
@@ -2277,12 +2313,12 @@ The following parameters are available in the `peadm::upgrade` plan:
|
2277 | 2313 | * [`r10k_known_hosts`](#-peadm--upgrade--r10k_known_hosts)
|
2278 | 2314 | * [`stagingdir`](#-peadm--upgrade--stagingdir)
|
2279 | 2315 | * [`uploaddir`](#-peadm--upgrade--uploaddir)
|
| 2316 | +* [`version`](#-peadm--upgrade--version) |
2280 | 2317 | * [`primary_host`](#-peadm--upgrade--primary_host)
|
2281 | 2318 | * [`replica_host`](#-peadm--upgrade--replica_host)
|
2282 | 2319 | * [`compiler_hosts`](#-peadm--upgrade--compiler_hosts)
|
2283 | 2320 | * [`primary_postgresql_host`](#-peadm--upgrade--primary_postgresql_host)
|
2284 | 2321 | * [`replica_postgresql_host`](#-peadm--upgrade--replica_postgresql_host)
|
2285 |
| -* [`version`](#-peadm--upgrade--version) |
2286 | 2322 | * [`token_file`](#-peadm--upgrade--token_file)
|
2287 | 2323 | * [`download_mode`](#-peadm--upgrade--download_mode)
|
2288 | 2324 | * [`permit_unsafe_versions`](#-peadm--upgrade--permit_unsafe_versions)
|
@@ -2324,7 +2360,9 @@ Data type: `Optional[String]`
|
2324 | 2360 | The URL to download the Puppet Enterprise installer media from. If not
|
2325 | 2361 | specified, PEAdm will attempt to download PE installation media from its
|
2326 | 2362 | standard public source. When specified, PEAdm will download directly from the
|
2327 |
| -URL given. |
| 2363 | +URL given. Can be an URL, that ends with a /, to a web directory that |
| 2364 | +contains the original archives or an absolute URL to the .tar.gz archive. |
| 2365 | +If it's an URL ending with the archive name, you don't need to set $version. |
2328 | 2366 |
|
2329 | 2367 | Default value: `undef`
|
2330 | 2368 |
|
@@ -2366,6 +2404,14 @@ for offline usage.
|
2366 | 2404 |
|
2367 | 2405 | Default value: `'/tmp'`
|
2368 | 2406 |
|
| 2407 | +##### <a name="-peadm--upgrade--version"></a>`version` |
| 2408 | + |
| 2409 | +Data type: `Optional[Peadm::Pe_version]` |
| 2410 | + |
| 2411 | +The desired version for PE. This is optional for custom provided absolute URLs. |
| 2412 | + |
| 2413 | +Default value: `undef` |
| 2414 | + |
2369 | 2415 | ##### <a name="-peadm--upgrade--primary_host"></a>`primary_host`
|
2370 | 2416 |
|
2371 | 2417 | Data type: `Peadm::SingleTargetSpec`
|
@@ -2402,14 +2448,6 @@ Data type: `Optional[Peadm::SingleTargetSpec]`
|
2402 | 2448 |
|
2403 | 2449 |
|
2404 | 2450 |
|
2405 |
| -Default value: `undef` |
2406 |
| - |
2407 |
| -##### <a name="-peadm--upgrade--version"></a>`version` |
2408 |
| - |
2409 |
| -Data type: `Optional[Peadm::Pe_version]` |
2410 |
| - |
2411 |
| - |
2412 |
| - |
2413 | 2451 | Default value: `undef`
|
2414 | 2452 |
|
2415 | 2453 | ##### <a name="-peadm--upgrade--token_file"></a>`token_file`
|
|
0 commit comments