Signed-off-by: digimer <mkelly@alteeve.ca>
main
digimer 2 years ago
parent 83a527f4fa
commit 8ba613952c
  1. 4
      tools/anvil-join-anvil
  2. 1
      tools/anvil-manage-dr

@ -70,8 +70,8 @@ configure_drbd($anvil);
if (1) if (1)
{ {
my ($return_code) = $anvil->System->enable_daemon({daemon => "anvil-safe-start.service"}); my ($return_code) = $anvil->System->enable_daemon({daemon => "anvil-safe-start.service"});
$anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => 3, list => { return_code => $return_code }}); $anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => 2, list => { return_code => $return_code }});
update_progress($anvil, (99, "job_0094,!!daemon!anvil-safe-start.service!!"); update_progress($anvil, 99, "job_0094,!!daemon!anvil-safe-start.service!!");
$anvil->Log->entry({source => $THIS_FILE, line => __LINE__, 'print' => 1, level => 1, key => "job_0094", variables => { daemon => "anvil-safe-start.service" }}); $anvil->Log->entry({source => $THIS_FILE, line => __LINE__, 'print' => 1, level => 1, key => "job_0094", variables => { daemon => "anvil-safe-start.service" }});
} }

@ -226,6 +226,7 @@ sub handle_links
dr_link_note => "user-created", dr_link_note => "user-created",
}); });
$anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => 2, list => { returned_dr_link_uuid => $returned_dr_link_uuid }}); $anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => 2, list => { returned_dr_link_uuid => $returned_dr_link_uuid }});
print "\n".$anvil->Words->string({key => "log_0734", variables => { print "\n".$anvil->Words->string({key => "log_0734", variables => {
host => $anvil->data->{hosts}{host_uuid}{$host_uuid}{short_host_name}, host => $anvil->data->{hosts}{host_uuid}{$host_uuid}{short_host_name},
anvil => $anvil->data->{anvils}{anvil_uuid}{$anvil_uuid}{anvil_name}, anvil => $anvil->data->{anvils}{anvil_uuid}{$anvil_uuid}{anvil_name},

Loading…
Cancel
Save