|
60 | 60 | * [`enable_replica`](#enable_replica): Execute the enable replica puppet command |
61 | 61 | * [`filesize`](#filesize): Return the size of a file in bytes |
62 | 62 | * [`get_peadm_config`](#get_peadm_config): Run on a PE primary node to return the currently configured PEAdm parameters |
| 63 | +* [`get_psql_version`](#get_psql_version): Run on a PE PSQL node to return the major version of the PSQL server currently installed |
63 | 64 | * [`infrastatus`](#infrastatus): Runs puppet infra status and returns the output |
64 | 65 | * [`mkdir_p_file`](#mkdir_p_file): Create a file with the specified content at the specified location |
65 | 66 | * [`mv`](#mv): Wrapper task for mv command |
@@ -109,12 +110,12 @@ Supported use cases: |
109 | 110 | * `peadm::subplans::prepare_agent` |
110 | 111 | * `peadm::uninstall`: Single-entry-point plan for uninstalling Puppet Enterprise |
111 | 112 | * `peadm::util::code_sync_status` |
| 113 | +* `peadm::util::copy_file` |
112 | 114 | * `peadm::util::db_disable_pglogical` |
113 | 115 | * `peadm::util::db_purge` |
114 | 116 | * `peadm::util::insert_csr_extension_requests` |
115 | 117 | * `peadm::util::retrieve_and_upload` |
116 | 118 | * `peadm::util::sanitize_pg_pe_conf` |
117 | | -* `peadm::util::sync_global_hiera` |
118 | 119 | * `peadm::util::update_classification`: Configure classification |
119 | 120 | * `peadm::util::update_db_setting`: Make updates to PuppetDB database settings |
120 | 121 |
|
@@ -190,7 +191,7 @@ Assert that the PE version given is supported by PEAdm |
190 | 191 |
|
191 | 192 | The peadm::assert_supported_pe_version function. |
192 | 193 |
|
193 | | -Returns: `Struct[{'supported' => Boolean}]` true if the version is supported, raise error otherwise |
| 194 | +Returns: `Struct[{ 'supported' => Boolean }]` true if the version is supported, raise error otherwise |
194 | 195 |
|
195 | 196 | ##### `the` |
196 | 197 |
|
@@ -1035,6 +1036,12 @@ Run on a PE primary node to return the currently configured PEAdm parameters |
1035 | 1036 |
|
1036 | 1037 | **Supports noop?** false |
1037 | 1038 |
|
| 1039 | +### <a name="get_psql_version"></a>`get_psql_version` |
| 1040 | + |
| 1041 | +Run on a PE PSQL node to return the major version of the PSQL server currently installed |
| 1042 | + |
| 1043 | +**Supports noop?** false |
| 1044 | + |
1038 | 1045 | ### <a name="infrastatus"></a>`infrastatus` |
1039 | 1046 |
|
1040 | 1047 | Runs puppet infra status and returns the output |
@@ -1263,6 +1270,12 @@ Data type: `String` |
1263 | 1270 |
|
1264 | 1271 | The password for the admin user |
1265 | 1272 |
|
| 1273 | +##### `token_lifetime` |
| 1274 | + |
| 1275 | +Data type: `String` |
| 1276 | + |
| 1277 | +The duration for which a token will be valid. Format <integer>[smhdy] |
| 1278 | + |
1266 | 1279 | ### <a name="read_file"></a>`read_file` |
1267 | 1280 |
|
1268 | 1281 | Read the contents of a file |
@@ -1556,6 +1569,7 @@ The following parameters are available in the `peadm::install` plan: |
1556 | 1569 | * [`stagingdir`](#stagingdir) |
1557 | 1570 | * [`download_mode`](#download_mode) |
1558 | 1571 | * [`permit_unsafe_versions`](#permit_unsafe_versions) |
| 1572 | +* [`token_lifetime`](#token_lifetime) |
1559 | 1573 |
|
1560 | 1574 | ##### <a name="compiler_pool_address"></a>`compiler_pool_address` |
1561 | 1575 |
|
@@ -1658,7 +1672,7 @@ Data type: `Peadm::Pe_version` |
1658 | 1672 |
|
1659 | 1673 |
|
1660 | 1674 |
|
1661 | | -Default value: `'2019.8.8'` |
| 1675 | +Default value: `'2021.7.0'` |
1662 | 1676 |
|
1663 | 1677 | ##### <a name="dns_alt_names"></a>`dns_alt_names` |
1664 | 1678 |
|
@@ -1748,6 +1762,14 @@ Data type: `Boolean` |
1748 | 1762 |
|
1749 | 1763 | Default value: ``false`` |
1750 | 1764 |
|
| 1765 | +##### <a name="token_lifetime"></a>`token_lifetime` |
| 1766 | + |
| 1767 | +Data type: `String` |
| 1768 | + |
| 1769 | + |
| 1770 | + |
| 1771 | +Default value: `'1y'` |
| 1772 | + |
1751 | 1773 | ### <a name="peadmmodify_certificate"></a>`peadm::modify_certificate` |
1752 | 1774 |
|
1753 | 1775 | Certificates can be modified by adding extensions, removing extensions, or |
|
0 commit comments