@@ -108,6 +108,7 @@ Supported use cases:
108108* [ ` peadm::backup_ca ` ] ( #peadm--backup_ca )
109109* [ ` peadm::convert ` ] ( #peadm--convert ) : Convert an existing PE cluster to a PEAdm-managed cluster
110110* [ ` peadm::install ` ] ( #peadm--install ) : Install a new PE cluster
111+ * [ ` peadm::migrate ` ] ( #peadm--migrate ) : Migrate a PE primary server to a new host
111112* [ ` peadm::modify_certificate ` ] ( #peadm--modify_certificate ) : Modify the certificate of one or more targets
112113* [ ` peadm::replace_failed_postgresql ` ] ( #peadm--replace_failed_postgresql ) : Replaces a failed PostgreSQL host
113114* [ ` peadm::restore ` ] ( #peadm--restore ) : Restore puppet primary configuration
@@ -1876,7 +1877,7 @@ This should be the primary puppetserver for the puppet cluster
18761877
18771878##### <a name =" -peadm--backup--backup_type " ></a >` backup_type `
18781879
1879- Data type: ` Enum['recovery', 'custom'] `
1880+ Data type: ` Enum['recovery', 'custom', 'migration' ] `
18801881
18811882Currently, the recovery and custom backup types are supported
18821883
@@ -2311,6 +2312,29 @@ Data type: `String`
23112312
23122313Default value: ` '1y' `
23132314
2315+ ### <a name =" peadm--migrate " ></a >` peadm::migrate `
2316+
2317+ Migrate a PE primary server to a new host
2318+
2319+ #### Parameters
2320+
2321+ The following parameters are available in the ` peadm::migrate ` plan:
2322+
2323+ * [ ` old_primary_host ` ] ( #-peadm--migrate--old_primary_host )
2324+ * [ ` new_primary_host ` ] ( #-peadm--migrate--new_primary_host )
2325+
2326+ ##### <a name =" -peadm--migrate--old_primary_host " ></a >` old_primary_host `
2327+
2328+ Data type: ` Peadm::SingleTargetSpec `
2329+
2330+ The existing PE primary server that will be migrated from
2331+
2332+ ##### <a name =" -peadm--migrate--new_primary_host " ></a >` new_primary_host `
2333+
2334+ Data type: ` Peadm::SingleTargetSpec `
2335+
2336+ The new server that will become the PE primary server
2337+
23142338### <a name =" peadm--modify_certificate " ></a >` peadm::modify_certificate `
23152339
23162340Certificates can be modified by adding extensions, removing extensions, or
@@ -2444,7 +2468,7 @@ This should be the primary puppetserver for the puppet cluster
24442468
24452469##### <a name =" -peadm--restore--restore_type " ></a >` restore_type `
24462470
2447- Data type: ` Enum['recovery', 'recovery-db', 'custom'] `
2471+ Data type: ` Enum['recovery', 'recovery-db', 'custom', 'migration' ] `
24482472
24492473Choose from ` recovery ` , ` recovery-db ` and ` custom `
24502474
0 commit comments