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 64f82312df71b5edde5d6e4dde3c0003e76be960..8a0048d7e84a4a8d30cd54421aa21b1f4202ac03 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.011261 seconds and 4 git commands to generate.