diff options
author | Luke Kanies <luke@madstop.com> | 2008-02-12 22:47:40 -0600 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2008-02-12 22:47:40 -0600 |
commit | cb5def4dc3310e1e697b3b27e7163224857c4c61 (patch) | |
tree | ec408a5c96ed5d8dfdb09c927bd89580d8e0b762 /lib/puppet/indirector | |
parent | eb740336d418273eea726f653280dae7553da605 (diff) | |
download | puppet-cb5def4dc3310e1e697b3b27e7163224857c4c61.tar.gz puppet-cb5def4dc3310e1e697b3b27e7163224857c4c61.tar.xz puppet-cb5def4dc3310e1e697b3b27e7163224857c4c61.zip |
'rake' within the spec dir works now, anyway, which is
a good start. Autotest still doesn't work, though.
Diffstat (limited to 'lib/puppet/indirector')
-rw-r--r-- | lib/puppet/indirector/terminus.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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? |