Skip to content

Commit 3232d17

Browse files
(PE-40377) reduce params
1 parent bc0b4c5 commit 3232d17

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

.github/workflows/test-migration.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,6 @@ jobs:
113113
--inventoryfile spec/fixtures/litmus_inventory.yaml \
114114
--modulepath spec/fixtures/modules \
115115
primary_host=$(yq '.groups[].targets[] | select(.vars.role == "primary") | .name' spec/fixtures/litmus_inventory.yaml) \
116-
replica_host=$(yq '.groups[].targets[] | select(.vars.role == "replica") | .name' spec/fixtures/litmus_inventory.yaml) \
117-
primary_postgresql_host=$(yq '.groups[].targets[] | select(.vars.role == "primary-pdb-postgresql") | .name' spec/fixtures/litmus_inventory.yaml) \
118-
replica_postgresql_host=$(yq '.groups[].targets[] | select(.vars.role == "replica-pdb-postgresql") | .name' spec/fixtures/litmus_inventory.yaml) \
119116
new_primary_host=$(yq '.groups[].targets[] | select(.vars.role == "new-primary") | .name' spec/fixtures/litmus_inventory.yaml) \
120117
new_replica_host=$(yq '.groups[].targets[] | select(.vars.role == "new-replica") | .name' spec/fixtures/litmus_inventory.yaml) \
121118
new_primary_postgresql_host=$(yq '.groups[].targets[] | select(.vars.role == "new-primary-pdb-postgresql") | .name' spec/fixtures/litmus_inventory.yaml) \

spec/acceptance/peadm_spec/plans/test_migration.pp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
plan peadm_spec::test_migration(
22
Peadm::SingleTargetSpec $primary_host,
3-
Optional[Peadm::SingleTargetSpec] $replica_host = undef,
4-
Optional[Peadm::SingleTargetSpec] $primary_postgresql_host = undef,
5-
Optional[Peadm::SingleTargetSpec] $replica_postgresql_host = undef,
63
Peadm::SingleTargetSpec $new_primary_host,
74
Optional[Peadm::SingleTargetSpec] $new_replica_host = undef,
85
Optional[Peadm::SingleTargetSpec] $new_primary_postgresql_host = undef,
96
Optional[Peadm::SingleTargetSpec] $new_replica_postgresql_host = undef,
107
Optional[Peadm::SingleTargetSpec] $upgrade_version = undef,
118
) {
129
out::message("primary_host:${primary_host}.")
13-
out::message("replica_host:${replica_host}.")
14-
out::message("primary_postgresql_host:${primary_postgresql_host}.")
15-
out::message("replica_postgresql_host:${replica_postgresql_host}.")
1610
out::message("new_primary_host:${new_primary_host}.")
1711
out::message("new_replica_host:${new_replica_host}.")
1812
out::message("new_primary_postgresql_host:${new_primary_postgresql_host}.")

0 commit comments

Comments
 (0)