@@ -1832,12 +1832,21 @@ The peadm::add_database class.
18321832
18331833The following parameters are available in the ` peadm::add_database ` plan:
18341834
1835+ * [ ` node_group_environment ` ] ( #-peadm--add_database--node_group_environment )
18351836* [ ` targets ` ] ( #-peadm--add_database--targets )
18361837* [ ` primary_host ` ] ( #-peadm--add_database--primary_host )
18371838* [ ` mode ` ] ( #-peadm--add_database--mode )
18381839* [ ` begin_at_step ` ] ( #-peadm--add_database--begin_at_step )
18391840* [ ` is_migration ` ] ( #-peadm--add_database--is_migration )
18401841
1842+ ##### <a name =" -peadm--add_database--node_group_environment " ></a >` node_group_environment `
1843+
1844+ Data type: ` String[1] `
1845+
1846+ environment for the PEADM specific node groups, if not set it will be gathered from pe.conf or production
1847+
1848+ Default value: ` 'production' `
1849+
18411850##### <a name =" -peadm--add_database--targets " ></a >` targets `
18421851
18431852Data type: ` Peadm::SingleTargetSpec `
@@ -1899,6 +1908,7 @@ The following parameters are available in the `peadm::add_replica` plan:
18991908* [ ` replica_host ` ] ( #-peadm--add_replica--replica_host )
19001909* [ ` replica_postgresql_host ` ] ( #-peadm--add_replica--replica_postgresql_host )
19011910* [ ` token_file ` ] ( #-peadm--add_replica--token_file )
1911+ * [ ` node_group_environment ` ] ( #-peadm--add_replica--node_group_environment )
19021912
19031913##### <a name =" -peadm--add_replica--primary_host " ></a >` primary_host `
19041914
@@ -1929,6 +1939,14 @@ Data type: `Optional[String]`
19291939
19301940Default value: ` undef `
19311941
1942+ ##### <a name =" -peadm--add_replica--node_group_environment " ></a >` node_group_environment `
1943+
1944+ Data type: ` String[1] `
1945+
1946+ environment for the PEADM specific node groups, if not set it will be gathered from pe.conf or production
1947+
1948+ Default value: ` 'production' `
1949+
19321950### <a name =" peadm--backup " ></a >` peadm::backup `
19331951
19341952Backup puppet primary configuration
@@ -2016,6 +2034,7 @@ management using PEAdm.
20162034The following parameters are available in the ` peadm::convert ` plan:
20172035
20182036* [ ` begin_at_step ` ] ( #-peadm--convert--begin_at_step )
2037+ * [ ` node_group_environment ` ] ( #-peadm--convert--node_group_environment )
20192038* [ ` primary_host ` ] ( #-peadm--convert--primary_host )
20202039* [ ` replica_host ` ] ( #-peadm--convert--replica_host )
20212040* [ ` compiler_hosts ` ] ( #-peadm--convert--compiler_hosts )
@@ -2035,6 +2054,14 @@ The step where the plan should start. If not set, it will start at the beginning
20352054
20362055Default value: ` undef `
20372056
2057+ ##### <a name =" -peadm--convert--node_group_environment " ></a >` node_group_environment `
2058+
2059+ Data type: ` String[1] `
2060+
2061+ environment for the PEADM specific node groups, if not set it will be gathered from pe.conf or production
2062+
2063+ Default value: ` peadm::get_node_group_environment($primary_host) `
2064+
20382065##### <a name =" -peadm--convert--primary_host " ></a >` primary_host `
20392066
20402067Data type: ` Peadm::SingleTargetSpec `
@@ -2723,6 +2750,7 @@ The following parameters are available in the `peadm::upgrade` plan:
27232750* [ ` stagingdir ` ] ( #-peadm--upgrade--stagingdir )
27242751* [ ` uploaddir ` ] ( #-peadm--upgrade--uploaddir )
27252752* [ ` begin_at_step ` ] ( #-peadm--upgrade--begin_at_step )
2753+ * [ ` node_group_environment ` ] ( #-peadm--upgrade--node_group_environment )
27262754* [ ` primary_host ` ] ( #-peadm--upgrade--primary_host )
27272755* [ ` replica_host ` ] ( #-peadm--upgrade--replica_host )
27282756* [ ` compiler_hosts ` ] ( #-peadm--upgrade--compiler_hosts )
@@ -2819,6 +2847,14 @@ The step where the plan should start. If not set, it will start at the beginning
28192847
28202848Default value: ` undef `
28212849
2850+ ##### <a name =" -peadm--upgrade--node_group_environment " ></a >` node_group_environment `
2851+
2852+ Data type: ` String[1] `
2853+
2854+ environment for the PEADM specific node groups, if not set it will be gathered from pe.conf or production
2855+
2856+ Default value: ` 'production' `
2857+
28222858##### <a name =" -peadm--upgrade--primary_host " ></a >` primary_host `
28232859
28242860Data type: ` Peadm::SingleTargetSpec `
0 commit comments