Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion plans/migrate.pp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
# @param upgrade_version
# Optional version to upgrade to after migration is complete
#
#
plan peadm::migrate (
Peadm::SingleTargetSpec $old_primary_host,
Peadm::SingleTargetSpec $new_primary_host,
Expand Down Expand Up @@ -63,6 +62,11 @@

out::message("old_pe_conf:${old_pe_conf}.")

$old_primary_platform = run_task('peadm::precheck', $old_primary_host).first['platform']
$new_primary_platform = run_task('peadm::precheck', $new_primary_host).first['platform']
out::message("old_primary_platform: ${old_primary_platform}")
out::message("new_primary_platform: ${new_primary_platform}")

run_plan('peadm::install', {
primary_host => $new_primary_host,
console_password => $old_primary_password,
Expand Down
Loading