Import purge from Gruntmaster::Data
[gruntmaster-daemon.git] / 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.01016 seconds and 4 git commands to generate.