|
69 | 69 | * [`enable_replica`](#enable_replica): Execute the enable replica puppet command
|
70 | 70 | * [`filesize`](#filesize): Return the size of a file in bytes
|
71 | 71 | * [`get_group_rules`](#get_group_rules): Run on a PE primary node to return the rules currently applied to the PE Infrastructure Agent group
|
| 72 | +* [`get_node_group`](#get_node_group): Gets a node group by its ID from the PE Node Classifier |
72 | 73 | * [`get_peadm_config`](#get_peadm_config): Run on a PE primary node to return the currently configured PEAdm parameters
|
73 | 74 | * [`get_psql_version`](#get_psql_version): Run on a PE PSQL node to return the major version of the PSQL server currently installed
|
74 | 75 | * [`infrastatus`](#infrastatus): Runs puppet infra status and returns the output
|
75 | 76 | * [`mkdir_p_file`](#mkdir_p_file): Create a file with the specified content at the specified location
|
76 | 77 | * [`mv`](#mv): Wrapper task for mv command
|
| 78 | +* [`node_group_pin`](#node_group_pin): Pins nodes to a specified PE node group |
77 | 79 | * [`os_identification`](#os_identification): Return the operating system runnin gon the target as a string
|
78 | 80 | * [`pe_install`](#pe_install): Install Puppet Enterprise from a tarball
|
79 | 81 | * [`pe_ldap_config`](#pe_ldap_config): Set the ldap config in the PE console
|
@@ -108,6 +110,7 @@ Supported use cases:
|
108 | 110 | * [`peadm::backup_ca`](#peadm--backup_ca)
|
109 | 111 | * [`peadm::convert`](#peadm--convert): Convert an existing PE cluster to a PEAdm-managed cluster
|
110 | 112 | * [`peadm::install`](#peadm--install): Install a new PE cluster
|
| 113 | +* [`peadm::migrate`](#peadm--migrate): Migrate a PE primary server to a new host |
111 | 114 | * [`peadm::modify_certificate`](#peadm--modify_certificate): Modify the certificate of one or more targets
|
112 | 115 | * [`peadm::replace_failed_postgresql`](#peadm--replace_failed_postgresql): Replaces a failed PostgreSQL host
|
113 | 116 | * [`peadm::restore`](#peadm--restore): Restore puppet primary configuration
|
@@ -1235,6 +1238,20 @@ Run on a PE primary node to return the rules currently applied to the PE Infrast
|
1235 | 1238 |
|
1236 | 1239 | **Supports noop?** false
|
1237 | 1240 |
|
| 1241 | +### <a name="get_node_group"></a>`get_node_group` |
| 1242 | + |
| 1243 | +Gets a node group by its ID from the PE Node Classifier |
| 1244 | + |
| 1245 | +**Supports noop?** false |
| 1246 | + |
| 1247 | +#### Parameters |
| 1248 | + |
| 1249 | +##### `group_id` |
| 1250 | + |
| 1251 | +Data type: `String` |
| 1252 | + |
| 1253 | +The UUID of the node group to retrieve |
| 1254 | + |
1238 | 1255 | ### <a name="get_peadm_config"></a>`get_peadm_config`
|
1239 | 1256 |
|
1240 | 1257 | Run on a PE primary node to return the currently configured PEAdm parameters
|
@@ -1325,6 +1342,26 @@ Data type: `String`
|
1325 | 1342 |
|
1326 | 1343 | New path of file
|
1327 | 1344 |
|
| 1345 | +### <a name="node_group_pin"></a>`node_group_pin` |
| 1346 | + |
| 1347 | +Pins nodes to a specified PE node group |
| 1348 | + |
| 1349 | +**Supports noop?** false |
| 1350 | + |
| 1351 | +#### Parameters |
| 1352 | + |
| 1353 | +##### `node_certnames` |
| 1354 | + |
| 1355 | +Data type: `Array[String]` |
| 1356 | + |
| 1357 | +The certnames of the nodes to pin |
| 1358 | + |
| 1359 | +##### `group_name` |
| 1360 | + |
| 1361 | +Data type: `String` |
| 1362 | + |
| 1363 | +The name of the node group to pin the nodes to |
| 1364 | + |
1328 | 1365 | ### <a name="os_identification"></a>`os_identification`
|
1329 | 1366 |
|
1330 | 1367 | Return the operating system runnin gon the target as a string
|
@@ -1876,7 +1913,7 @@ This should be the primary puppetserver for the puppet cluster
|
1876 | 1913 |
|
1877 | 1914 | ##### <a name="-peadm--backup--backup_type"></a>`backup_type`
|
1878 | 1915 |
|
1879 |
| -Data type: `Enum['recovery', 'custom']` |
| 1916 | +Data type: `Enum['recovery', 'custom', 'migration']` |
1880 | 1917 |
|
1881 | 1918 | Currently, the recovery and custom backup types are supported
|
1882 | 1919 |
|
@@ -2311,6 +2348,29 @@ Data type: `String`
|
2311 | 2348 |
|
2312 | 2349 | Default value: `'1y'`
|
2313 | 2350 |
|
| 2351 | +### <a name="peadm--migrate"></a>`peadm::migrate` |
| 2352 | + |
| 2353 | +Migrate a PE primary server to a new host |
| 2354 | + |
| 2355 | +#### Parameters |
| 2356 | + |
| 2357 | +The following parameters are available in the `peadm::migrate` plan: |
| 2358 | + |
| 2359 | +* [`old_primary_host`](#-peadm--migrate--old_primary_host) |
| 2360 | +* [`new_primary_host`](#-peadm--migrate--new_primary_host) |
| 2361 | + |
| 2362 | +##### <a name="-peadm--migrate--old_primary_host"></a>`old_primary_host` |
| 2363 | + |
| 2364 | +Data type: `Peadm::SingleTargetSpec` |
| 2365 | + |
| 2366 | +The existing PE primary server that will be migrated from |
| 2367 | + |
| 2368 | +##### <a name="-peadm--migrate--new_primary_host"></a>`new_primary_host` |
| 2369 | + |
| 2370 | +Data type: `Peadm::SingleTargetSpec` |
| 2371 | + |
| 2372 | +The new server that will become the PE primary server |
| 2373 | + |
2314 | 2374 | ### <a name="peadm--modify_certificate"></a>`peadm::modify_certificate`
|
2315 | 2375 |
|
2316 | 2376 | Certificates can be modified by adding extensions, removing extensions, or
|
@@ -2444,7 +2504,7 @@ This should be the primary puppetserver for the puppet cluster
|
2444 | 2504 |
|
2445 | 2505 | ##### <a name="-peadm--restore--restore_type"></a>`restore_type`
|
2446 | 2506 |
|
2447 |
| -Data type: `Enum['recovery', 'recovery-db', 'custom']` |
| 2507 | +Data type: `Enum['recovery', 'recovery-db', 'custom', 'migration']` |
2448 | 2508 |
|
2449 | 2509 | Choose from `recovery`, `recovery-db` and `custom`
|
2450 | 2510 |
|
|
0 commit comments