From 95881e4876d52bd37b25fc3cc74f4c2d1e08e826 Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Fri, 23 Jan 2015 20:38:54 +0200 Subject: [PATCH] Import purge from Gruntmaster::Data --- lib/Gruntmaster/Daemon.pm | 1 + 1 file changed, 1 insertion(+) 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"); -- 2.39.2