NAME
Ceres::DBI::Index - DB interface to Ceres index
SYNOPSIS
use Ceres::DBI::Index;
my $db = Ceres::DBI::Index->new( '/database/file' );
METHODS
See Vulcan::SQLiteDB.
DATABASE
A SQLITE db has a <ceres> table of three columns:
host : hostname
key : md5 key
sig : current md5 signature
METHODS
update( $host, $key, $sig )
Update record if key or sig changed.
index( $host, $sig )
Select key by $host, and by failed sig match if $sig is defined. Return last two characters of key, or undef if $host does not exist.