Changes

Jump to navigation Jump to search
229 bytes added ,  22:37, 18 June 2015
Line 1: Line 1:  
=== NAME ===
 
=== NAME ===
esmith::ConfigDB - interface to esmith configuration database
+
esmith::ConfigDB - interface to esmith configuration database<br />
in a root terminal
+
 
  perldoc -U esmith::ConfigDB  
+
In a root terminal you can do the command below if you want to display the up-to-date content
 +
  perldoc -U esmith::ConfigDB
 +
 
 
=== SYNOPSIS ===
 
=== SYNOPSIS ===
 
           use esmith::ConfigDB;
 
           use esmith::ConfigDB;
Line 66: Line 68:     
       my $record = $db->get(’zope’);
 
       my $record = $db->get(’zope’);
 +
 +
for example (if it doesn't exist we create it)
 +
    my $rec = $DB->get('roundcube') || $DB->new_record('roundcube', {type => 'service'});
    
==== getLocale() ====
 
==== getLocale() ====
Line 86: Line 91:     
       {
 
       {
           $OUT = $DB->hosts_allow_spec(’oidentd’, ’in.identd’); }
+
           $OUT = $DB->hosts_allow_spec(’oidentd’, ’in.identd’);
 +
      }
    
==== wins_server ====
 
==== wins_server ====

Navigation menu