|
36 | 36 | * [`peadm::node_manager_yaml_location`](#peadm--node_manager_yaml_location)
|
37 | 37 | * [`peadm::oid`](#peadm--oid)
|
38 | 38 | * [`peadm::pe_db_names`](#peadm--pe_db_names)
|
| 39 | +* [`peadm::pe_installer_source`](#peadm--pe_installer_source): calculates the PE installer URL and archive name |
39 | 40 | * [`peadm::plan_step`](#peadm--plan_step)
|
40 | 41 | * [`peadm::recovery_opts_all`](#peadm--recovery_opts_all)
|
41 | 42 | * [`peadm::recovery_opts_default`](#peadm--recovery_opts_default)
|
@@ -844,6 +845,40 @@ Data type: `String`
|
844 | 845 |
|
845 | 846 |
|
846 | 847 |
|
| 848 | +### <a name="peadm--pe_installer_source"></a>`peadm::pe_installer_source` |
| 849 | + |
| 850 | +Type: Puppet Language |
| 851 | + |
| 852 | +calculates the PE installer URL and archive name |
| 853 | + |
| 854 | +#### `peadm::pe_installer_source(Optional[Stdlib::HTTPSUrl] $pe_installer_source = undef, Optional[Peadm::Pe_version] $version = undef, Optional[String[1]] $platform = undef)` |
| 855 | + |
| 856 | +The peadm::pe_installer_source function. |
| 857 | + |
| 858 | +Returns: `Hash[String[1],String[1]]` |
| 859 | + |
| 860 | +##### `pe_installer_source` |
| 861 | + |
| 862 | +Data type: `Optional[Stdlib::HTTPSUrl]` |
| 863 | + |
| 864 | +The URL to download the Puppet Enterprise installer media from. If not |
| 865 | +specified, PEAdm will attempt to download PE installation media from its |
| 866 | +standard public source. When specified, PEAdm will download directly from the |
| 867 | +URL given. Can be an URL, that ends with a /, to a web directory that |
| 868 | +contains the original archives or an absolute URL to the .tar.gz archive. |
| 869 | + |
| 870 | +##### `version` |
| 871 | + |
| 872 | +Data type: `Optional[Peadm::Pe_version]` |
| 873 | + |
| 874 | +The desired version for PE. This is optional for custom provided absolute URLs. |
| 875 | + |
| 876 | +##### `platform` |
| 877 | + |
| 878 | +Data type: `Optional[String[1]]` |
| 879 | + |
| 880 | +The platform we're on, for example el-9-x86_64 (osfamily short name - version - arch) |
| 881 | + |
847 | 882 | ### <a name="peadm--plan_step"></a>`peadm::plan_step`
|
848 | 883 |
|
849 | 884 | Type: Ruby 4.x API
|
@@ -2106,7 +2141,8 @@ Data type: `Optional[Stdlib::HTTPSUrl]`
|
2106 | 2141 | The URL to download the Puppet Enterprise installer media from. If not
|
2107 | 2142 | specified, PEAdm will attempt to download PE installation media from its
|
2108 | 2143 | standard public source. When specified, PEAdm will download directly from the
|
2109 |
| -URL given. |
| 2144 | +URL given. Can be an URL, that ends with a /, to a web directory that |
| 2145 | +contains the original archives or an absolute URL to the .tar.gz archive. |
2110 | 2146 |
|
2111 | 2147 | Default value: `undef`
|
2112 | 2148 |
|
@@ -2597,12 +2633,12 @@ The following parameters are available in the `peadm::upgrade` plan:
|
2597 | 2633 | * [`stagingdir`](#-peadm--upgrade--stagingdir)
|
2598 | 2634 | * [`uploaddir`](#-peadm--upgrade--uploaddir)
|
2599 | 2635 | * [`begin_at_step`](#-peadm--upgrade--begin_at_step)
|
| 2636 | +* [`version`](#-peadm--upgrade--version) |
2600 | 2637 | * [`primary_host`](#-peadm--upgrade--primary_host)
|
2601 | 2638 | * [`replica_host`](#-peadm--upgrade--replica_host)
|
2602 | 2639 | * [`compiler_hosts`](#-peadm--upgrade--compiler_hosts)
|
2603 | 2640 | * [`primary_postgresql_host`](#-peadm--upgrade--primary_postgresql_host)
|
2604 | 2641 | * [`replica_postgresql_host`](#-peadm--upgrade--replica_postgresql_host)
|
2605 |
| -* [`version`](#-peadm--upgrade--version) |
2606 | 2642 | * [`token_file`](#-peadm--upgrade--token_file)
|
2607 | 2643 | * [`download_mode`](#-peadm--upgrade--download_mode)
|
2608 | 2644 | * [`permit_unsafe_versions`](#-peadm--upgrade--permit_unsafe_versions)
|
@@ -2643,7 +2679,9 @@ Data type: `Optional[Stdlib::HTTPSUrl]`
|
2643 | 2679 | The URL to download the Puppet Enterprise installer media from. If not
|
2644 | 2680 | specified, PEAdm will attempt to download PE installation media from its
|
2645 | 2681 | standard public source. When specified, PEAdm will download directly from the
|
2646 |
| -URL given. |
| 2682 | +URL given. Can be an URL, that ends with a /, to a web directory that |
| 2683 | +contains the original archives or an absolute URL to the .tar.gz archive. |
| 2684 | +If it's an URL ending with the archive name, you don't need to set $version. |
2647 | 2685 |
|
2648 | 2686 | Default value: `undef`
|
2649 | 2687 |
|
@@ -2693,6 +2731,14 @@ The step where the plan should start. If not set, it will start at the beginning
|
2693 | 2731 |
|
2694 | 2732 | Default value: `undef`
|
2695 | 2733 |
|
| 2734 | +##### <a name="-peadm--upgrade--version"></a>`version` |
| 2735 | + |
| 2736 | +Data type: `Optional[Peadm::Pe_version]` |
| 2737 | + |
| 2738 | +The desired version for PE. This is optional for custom provided absolute URLs. |
| 2739 | + |
| 2740 | +Default value: `undef` |
| 2741 | + |
2696 | 2742 | ##### <a name="-peadm--upgrade--primary_host"></a>`primary_host`
|
2697 | 2743 |
|
2698 | 2744 | Data type: `Peadm::SingleTargetSpec`
|
@@ -2729,14 +2775,6 @@ Data type: `Optional[Peadm::SingleTargetSpec]`
|
2729 | 2775 |
|
2730 | 2776 |
|
2731 | 2777 |
|
2732 |
| -Default value: `undef` |
2733 |
| - |
2734 |
| -##### <a name="-peadm--upgrade--version"></a>`version` |
2735 |
| - |
2736 |
| -Data type: `Optional[Peadm::Pe_version]` |
2737 |
| - |
2738 |
| - |
2739 |
| - |
2740 | 2778 | Default value: `undef`
|
2741 | 2779 |
|
2742 | 2780 | ##### <a name="-peadm--upgrade--token_file"></a>`token_file`
|
|
0 commit comments