[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, upstream, updated. 0.25.5-639-g8f94f35

test branch puppet-dev at googlegroups.com
Wed Jul 14 10:34:15 UTC 2010


The following commit has been merged in the upstream branch:
commit b3aa3ecdc5d164328d7193d9158d9dee53df4aec
Author: David Schmitt <david at dasz.at>
Date:   Tue May 18 11:33:28 2010 +0200

    Improve error message

diff --git a/lib/puppet/module.rb b/lib/puppet/module.rb
index e598a8e..38f3ec6 100644
--- a/lib/puppet/module.rb
+++ b/lib/puppet/module.rb
@@ -211,6 +211,6 @@ class Puppet::Module
     end
 
     def assert_validity
-        raise InvalidName, "Invalid module name; module names must be alphanumeric (plus '-')" unless name =~ /^[-\w]+$/
+        raise InvalidName, "Invalid module name; module names must be alphanumeric (plus '-'), not '%s'" % name unless name =~ /^[-\w]+$/
     end
 end

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list