[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, experimental, updated. debian/2.6.8-1-844-g7ec39d5

Luke Kanies luke at puppetlabs.com
Tue May 10 08:04:39 UTC 2011


The following commit has been merged in the experimental branch:
commit 782ca8df60c0adc6c264a196292032479d2c2f7c
Author: Luke Kanies <luke at puppetlabs.com>
Date:   Wed Feb 16 00:30:21 2011 -0800

    Fixing an error message
    
    Signed-off-by: Luke Kanies <luke at puppetlabs.com>

diff --git a/lib/puppet/interface.rb b/lib/puppet/interface.rb
index f35a8bf..97e726a 100644
--- a/lib/puppet/interface.rb
+++ b/lib/puppet/interface.rb
@@ -22,7 +22,7 @@ class Puppet::Interface
   def self.action(name, &block)
     @actions ||= []
     name = name.to_s.downcase.to_sym
-    raise "Action #{name} already defined for #{name}" if actions.include?(name)
+    raise "Action #{name} already defined for #{self}" if actions.include?(name)
 
     @actions << name
 

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list