summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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