From a7ddb8df89ba82d48f678982d081aa341fca57cc Mon Sep 17 00:00:00 2001 From: Saku Ytti Date: Tue, 15 Apr 2014 21:58:38 +0300 Subject: Change output to default file instead of git Once web is moved to 'oxidized-web' package and sqlite+git dependencies are removed, it's lot easier to install 'oxidized-script' + 'oxidized' on other machines which actually don't intend to run oxidized to collect config Now as we depend on puma + sqlite we need to compile native extensions, which may be problematic and certainly unnecesassary just to run 'oxs' --- lib/oxidized/config.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/oxidized/config.rb b/lib/oxidized/config.rb index 475ae14..48a3879 100644 --- a/lib/oxidized/config.rb +++ b/lib/oxidized/config.rb @@ -26,10 +26,10 @@ module Oxidized CFGS.default.vars = {} # could be 'enable'=>'enablePW' CFGS.default.input.default = 'ssh, telnet' - CFGS.default.input.ssh.secure = false + CFGS.default.input.ssh.secure = false # complain about changed certs - CFGS.default.output.default = 'git' - CFGS.default.source.default = 'csv' + CFGS.default.output.default = 'file' # file, git + CFGS.default.source.default = 'csv' # csv, sql CFGS.default.model_map = { 'cisco' => 'ios', -- cgit v1.2.1