Changes

Jump to navigation Jump to search
147 bytes added ,  22:37, 18 June 2015
Line 1: Line 1:  
=== NAME ===
 
=== NAME ===
esmith::ConfigDB - interface to esmith configuration database<br />
+
esmith::ConfigDB - interface to esmith configuration database<br />
    
In a root terminal you can do the command below if you want to display the up-to-date content
 
In a root terminal you can do the command below if you want to display the up-to-date content
Line 68: 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 88: Line 91:     
       {
 
       {
           $OUT = $DB->hosts_allow_spec(’oidentd’, ’in.identd’); }
+
           $OUT = $DB->hosts_allow_spec(’oidentd’, ’in.identd’);
 +
      }
    
==== wins_server ====
 
==== wins_server ====

Navigation menu