Skip to content

Commit 7f1a4fe

Browse files
committed
add out message in migrate plan stating the old and new OS family and version when migrating between OS's
1 parent 4647764 commit 7f1a4fe

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

plans/migrate.pp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,11 @@
6363

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

66+
$old_primary_platform = run_task('peadm::precheck', $old_primary_host).first['platform']
67+
$new_primary_platform = run_task('peadm::precheck', $new_primary_host).first['platform']
68+
out::message("old_primary_platform: ${old_primary_platform}")
69+
out::message("new_primary_platform: ${new_primary_platform}")
70+
6671
run_plan('peadm::install', {
6772
primary_host => $new_primary_host,
6873
console_password => $old_primary_password,

0 commit comments

Comments
 (0)