From 658af826f95076b1739e922a7c0f3cde417571ed Mon Sep 17 00:00:00 2001 From: elijah Date: Tue, 27 May 2014 13:04:50 -0700 Subject: cap puppet verbosity level at 5 and capistrano logger at 3. --- lib/leap_cli/util/remote_command.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/leap_cli/util') diff --git a/lib/leap_cli/util/remote_command.rb b/lib/leap_cli/util/remote_command.rb index b4b2b1f..6b4d75f 100644 --- a/lib/leap_cli/util/remote_command.rb +++ b/lib/leap_cli/util/remote_command.rb @@ -13,7 +13,7 @@ module LeapCli; module Util; module RemoteCommand node_list = parse_node_list(nodes) cap = new_capistrano - cap.logger = LeapCli::Logger.new(:level => LeapCli.log_level) + cap.logger = LeapCli::Logger.new(:level => [LeapCli.log_level,3].min) user = options[:user] || 'root' cap.set :user, user cap.set :ssh_options, ssh_options # ssh options common to all nodes -- cgit v1.2.3