summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2016-02-01 15:05:35 -0800
committerelijah <elijah@riseup.net>2016-02-01 15:05:35 -0800
commit24704a7f28521aca9181430bcb9adfcd67182534 (patch)
tree040004318752916b96c2e75655f868267355ae83 /lib
parent80db7cd55385a94802579c4a94d5ad8203b3ee3d (diff)
parent4a8a1a9b29d2b09786f21583984f04d00e482712 (diff)
Merge branch 'develop' of ssh://leap.se/leap_cli into develop
Diffstat (limited to 'lib')
-rw-r--r--lib/leap_cli/logger.rb2
-rw-r--r--lib/leap_cli/remote/leap_plugin.rb9
2 files changed, 10 insertions, 1 deletions
diff --git a/lib/leap_cli/logger.rb b/lib/leap_cli/logger.rb
index 8b55bb3..9e98321 100644
--- a/lib/leap_cli/logger.rb
+++ b/lib/leap_cli/logger.rb
@@ -129,6 +129,8 @@ module LeapCli
{ :match => /WARNING: The following packages cannot be authenticated!/, :color => :red, :level => 0, :priority => -10},
# PUPPET
+ { :match => /^(W|w)arning: Not collecting exported resources without storeconfigs/, :level => 2, :color => :yellow, :priority => -10},
+ { :match => /^(W|w)arning: Found multiple default providers for vcsrepo:/, :level => 2, :color => :yellow, :priority => -10},
{ :match => /^(W|w)arning: .*is deprecated.*$/, :level => 2, :color => :yellow, :priority => -10},
{ :match => /^(W|w)arning: Scope.*$/, :level => 2, :color => :yellow, :priority => -10},
{ :match => /^(N|n)otice:/, :level => 1, :color => :cyan, :priority => -20},
diff --git a/lib/leap_cli/remote/leap_plugin.rb b/lib/leap_cli/remote/leap_plugin.rb
index 0106d85..21e69ee 100644
--- a/lib/leap_cli/remote/leap_plugin.rb
+++ b/lib/leap_cli/remote/leap_plugin.rb
@@ -66,6 +66,13 @@ module LeapCli; module Remote; module LeapPlugin
end
#
+ # dumps debugging information
+ # #
+ def debug
+ run "#{Leap::Platform.leap_dir}/bin/debug.sh"
+ end
+
+ #
# dumps the recent deploy history to the console
#
def history
@@ -214,4 +221,4 @@ module LeapCli; module Remote; module LeapPlugin
# end
# puts "finished with return code: #{return_code}"
-end; end; end \ No newline at end of file
+end; end; end