From: Marius Gavrilescu Date: Fri, 23 Jan 2015 18:38:54 +0000 (+0200) Subject: Import purge from Gruntmaster::Data X-Git-Tag: 5999.000_005~85 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=95881e4876d52bd37b25fc3cc74f4c2d1e08e826;p=gruntmaster-daemon.git Import purge from Gruntmaster::Data --- diff --git a/lib/Gruntmaster/Daemon.pm b/lib/Gruntmaster/Daemon.pm index 64f8231..8a0048d 100644 --- a/lib/Gruntmaster/Daemon.pm +++ b/lib/Gruntmaster/Daemon.pm @@ -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");