Jan Gehring > Rex-0.44.6.1 > Rex::Group::Lookup::Command

Download:
Rex-0.44.6.1.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  5
Open  1
View/Report Bugs
Source   Latest Release: Rex-0.50.0

NAME ^

Rex::Group::Lookup::Command - read hostnames from a command.

DESCRIPTION ^

With this module you can define hostgroups out of a command.

SYNOPSIS ^

 use Rex::Group::Lookup::Command;

 group "dbserver"   => lookup_command("cat ip.list | grep -v -E '^#'");

 rex xxxx                                          # dbserver

EXPORTED FUNCTIONS ^

syntax highlighting: