RackMan::Tasks - High-level tasks
This module provides high-level tasks for working on RackObjects. It especially implements the actions documented in rack under the methods named task_$action.
task_$action
All tasks expect arguments to be given as a hashref, the following ones being common to all tasks:
rackman - RackMan instance
rackman
RackMan
stdout - indicate that the task is executed from the rack command, and as such should send results to stdout
stdout
rack
Print the difference between the actual and expected configuration of the device corresponding to the given RackObject
Print or return (an extract of) the internal structure of the RackObject.
The task prints on standard output when option stdout is set, otherwise returns the result.
Arguments
as - specify the format: json, perl, yaml
as
json
perl
yaml
Print information about the RackObject
Print the list the RackObject of the given type (server, pdu, switch or all)
server
pdu
switch
all
Push the configuration to the device corresponding to the given RackObject
Generate and write the configuration files for the given RackObject
Sebastien Aperghis-Tramoni (sebastien@aperghis.net)
To install RackMan, copy and paste the appropriate command in to your terminal.
cpanm
cpanm RackMan
CPAN shell
perl -MCPAN -e shell install RackMan
For more information on module installation, please visit the detailed CPAN module installation guide.