GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Rex::Group::Lookup::INI(3) User Contributed Perl Documentation Rex::Group::Lookup::INI(3)

Rex::Group::Lookup::INI - read host names and groups from an INI style file

With this module you can define host groups in an INI style file.

 use Rex::Group::Lookup::INI;
 groups_file 'file.ini';

With this function you can read groups from INI style files.

File example:

 # servers.ini
 [webservers]
 fe01
 fe02
    
 [backends]
 be[01..03]

It supports the same expressions as the group command.

Since 0.42, it also supports custom host properties if the use_server_auth feature flag is enabled:

 # servers.ini
 [webservers]
 server01 user=root password=foob4r sudo=true services=apache,memcache

 # Rexfile
 use Rex -feature => ['use_server_auth'];

 task 'list_services', group => 'webservers', sub {
   say connection->server->option('services');
 }
2021-07-05 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.