nysus has asked for the wisdom of the Perl Monks concerning the following question:

Anyone out there familiar with Rex? I'm playing with it a bit but I'm having problems getting output from a particular machine. Please see my issue in the GitHub issue queue for my problem. Thanks.

$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest";
$nysus = $PM . ' ' . $MCF;
Click here if you love Perl Monks

  • Comment on Having trouble getting Rex (Remote Execution) module to generate output

Replies are listed 'Best First'.
Re: Having trouble getting Rex (Remote Execution) module to generate output
by nysus (Parson) on Oct 15, 2018 at 00:47 UTC

    So I tracked the problem down to not having SFTP installed on the client server. It's needed in the is_dir function in the Rex::Interface::OpenSSH.pm. The VirtInfo module calls is_dir to determine if a directory exists.

    Seems odd I would need SFTP to check if a directory exists. Especially odd there is absolutely no warning is given about this. Overall, the Rex project doesn't seem to be getting maintained and code feels buggy. Unfortunate.

    $PM = "Perl Monk's";
    $MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest";
    $nysus = $PM . ' ' . $MCF;
    Click here if you love Perl Monks