Skip to content

Commit

Permalink
Update fail_plan pe_primary target.
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamin-robertson committed Oct 28, 2024
1 parent 4c7d8da commit 7c19164
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plans/migrate_node.pp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @summary PE plan to migrate nodes to another PE server
# @summary PE plan to migrate nodes to another PE server.
#
# lint:ignore:140chars
#
Expand Down Expand Up @@ -94,7 +94,7 @@
'_catch_errors' => true )
$ok_set_length = length("${confirm_pe_primary_server_results.ok_set}")
if length("${confirm_pe_primary_server_results.ok_set}") <= 2 {
fail_plan("Primary server provided not the primary server for this Puppet Enterprise installation: ${pe_server_target.name} ")
fail_plan("Primary server provided not the primary server for this Puppet Enterprise installation: ${origin_pe_primary_target.name} ")
}

# Check if target pe address is an array. If so we test the first address only.
Expand Down

0 comments on commit 7c19164

Please sign in to comment.