]> gitweb.fluxo.info Git - leap/leap_cli.git/commitdiff
catch more fatal puppet errors
authorelijah <elijah@riseup.net>
Tue, 8 Jan 2013 09:55:47 +0000 (01:55 -0800)
committerelijah <elijah@riseup.net>
Tue, 8 Jan 2013 09:55:47 +0000 (01:55 -0800)
lib/leap_cli/logger.rb

index 2010f15c9f728cf178a03a0a801bb4ac2b7ef56a..181a4ae954e463f8726644bb67c64102b419ffee 100644 (file)
@@ -111,6 +111,7 @@ module LeapCli
       { :match => /^notice:/,                      :level => 1, :color => :cyan,   :priority => -20},
       { :match => /^err:/,                         :level => 0, :color => :red,    :priority => -20},
       { :match => /^warning:/,                     :level => 0, :color => :yellow, :priority => -20},
+      { :match => /^Duplicate declaration:/,       :level => 0, :color => :red,    :priority => -20},
       { :match => /Finished catalog run/,          :level => 0, :color => :green,  :priority => -10},
     ]