From cb5def4dc3310e1e697b3b27e7163224857c4c61 Mon Sep 17 00:00:00 2001 From: Luke Kanies Date: Tue, 12 Feb 2008 22:47:40 -0600 Subject: 'rake' within the spec dir works now, anyway, which is a good start. Autotest still doesn't work, though. --- lib/puppet/indirector/terminus.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/puppet') diff --git a/lib/puppet/indirector/terminus.rb b/lib/puppet/indirector/terminus.rb index a0623b284..3015c8a37 100644 --- a/lib/puppet/indirector/terminus.rb +++ b/lib/puppet/indirector/terminus.rb @@ -66,6 +66,7 @@ class Puppet::Indirector::Terminus subclass.terminus_type = self.name # Our subclass is specifically associated with an indirection. + raise("Invalid name %s" % longname) unless names.length > 0 indirection_name = names.pop.sub(/^[A-Z]/) { |i| i.downcase }.gsub(/[A-Z]/) { |i| "_" + i.downcase }.intern if indirection_name == "" or indirection_name.nil? -- cgit