From 9cb897c385e73a26a73594a8f26d08e7bdb23ae2 Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Wed, 2 Jan 2013 16:38:43 +0000 Subject: [PATCH] forgot to update the config templates --- Netdisco/bin/netdisco-daemon | 2 +- Netdisco/share/environments/development.yml | 2 +- Netdisco/share/environments/production.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Netdisco/bin/netdisco-daemon b/Netdisco/bin/netdisco-daemon index dfc8d2ae..0f268feb 100755 --- a/Netdisco/bin/netdisco-daemon +++ b/Netdisco/bin/netdisco-daemon @@ -14,7 +14,7 @@ use App::Netdisco::Daemon::Queue ':all'; use NetAddr::IP::Lite ':lower'; use MCE; -use Role::Tiny; +use Role::Tiny::With; use Path::Class 'dir'; my $tmp = dir($ENV{HOME}, 'tmp'); diff --git a/Netdisco/share/environments/development.yml b/Netdisco/share/environments/development.yml index 90f001d5..ea7a6a85 100644 --- a/Netdisco/share/environments/development.yml +++ b/Netdisco/share/environments/development.yml @@ -33,7 +33,7 @@ plugins: # know what you are doing! daemon: schema_class: 'App::Netdisco::Daemon::DB' - dsn: 'dbi:SQLite:dbname=/home/netdisco/netdisco-daemon.db' + dsn: 'dbi:SQLite:dbname=:memory:' options: RaiseError: 1 AutoCommit: 1 diff --git a/Netdisco/share/environments/production.yml b/Netdisco/share/environments/production.yml index f927f5a3..71805356 100644 --- a/Netdisco/share/environments/production.yml +++ b/Netdisco/share/environments/production.yml @@ -31,7 +31,7 @@ plugins: # know what you are doing! daemon: schema_class: 'App::Netdisco::Daemon::DB' - dsn: 'dbi:SQLite:dbname=/home/netdisco/netdisco-daemon.db' + dsn: 'dbi:SQLite:dbname=:memory:' options: RaiseError: 1 AutoCommit: 1