The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

App::Validation::Automation::Unix - Base Classs App::Validation::Automation

Stores utilities that perform Unix based validation

SYNOPSIS

App::Validation::Automation::Unix connects to remote server using SSH.The Public/Private Key pair should be generated and stored else connection establishment will fail.The location of Private key also needs to be specifed in the configuration file.Logs in and validates processes and filesystems post connection establishment.

ATTRIBUTES

unix_msg stores the message generated by Unix Class Methods, connection stores the ssh connection object.

METHODS

connect

Connect and login to remote server. Host to connect to and user is passed as arguments.Returns true on success.

validate_process

Validates if correct no of process is running on remote server.The command fired to test process can either be a part of config or passed as argument.Returns true on success else returns false.

validate_mountpoint

Validates if a mountpoint is accessible on remote server.The command fired to test mountpoint can either be a part of config or passed as argument.Returns true on success else returns false.

change_unix_pwd

Change password at unix level after password expiration at Website level.Uses Secret passphrase to decrypt the newly created password.Stores new encrypted password in password file