Import purge from Gruntmaster::Data
authorMarius Gavrilescu <marius@ieval.ro>
Fri, 23 Jan 2015 18:38:54 +0000 (20:38 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Fri, 23 Jan 2015 18:38:54 +0000 (20:38 +0200)
lib/Gruntmaster/Daemon.pm

index 64f8231..8a0048d 100644 (file)
@@ -171,6 +171,7 @@ sub got_job{
 sub run{
        warn "No GRUNTMASTER_VM environment variable. Running without a VM is a security risk.\n"  unless $ENV{GRUNTMASTER_VM};
        require Gruntmaster::Data;
+       Gruntmaster::Data->import;
        $db = Gruntmaster::Data->connect('dbi:Pg:');
        Log::Log4perl->init('/etc/gruntmasterd/gruntmasterd-log.conf');
        get_logger->info("gruntmasterd $VERSION started");
This page took 0.024393 seconds and 4 git commands to generate.