diff options
| author | Luke Kanies <luke@madstop.com> | 2007-09-04 12:09:48 -0500 |
|---|---|---|
| committer | Luke Kanies <luke@madstop.com> | 2007-09-04 12:09:48 -0500 |
| commit | 3b2efd2a4b32478b6c6a71e1421061405a0bb11e (patch) | |
| tree | 72e5ada4b0eeb3c83a1f20dfb524363a3fc5db81 /lib/puppet/parser/parser_support.rb | |
| parent | 0faf76ee187c7fa7c67a7fb7e7c345897006b7d8 (diff) | |
| download | puppet-3b2efd2a4b32478b6c6a71e1421061405a0bb11e.tar.gz puppet-3b2efd2a4b32478b6c6a71e1421061405a0bb11e.tar.xz puppet-3b2efd2a4b32478b6c6a71e1421061405a0bb11e.zip | |
We now have a real configuration object, as a subclass of GRATR::Digraph, that has a resource graph including resources for the container objects like classes and nodes. It is apparently functional, but I have not gone through all of the other tests to fix them yet. That is next.
Diffstat (limited to 'lib/puppet/parser/parser_support.rb')
| -rw-r--r-- | lib/puppet/parser/parser_support.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/parser/parser_support.rb b/lib/puppet/parser/parser_support.rb index be1d73047..8cf0dcfe8 100644 --- a/lib/puppet/parser/parser_support.rb +++ b/lib/puppet/parser/parser_support.rb @@ -125,7 +125,7 @@ class Puppet::Parser::Parser # The recursive method used to actually look these objects up. def fqfind(namespace, name, table) namespace = namespace.downcase - name = name.downcase + name = name.to_s.downcase if name =~ /^::/ or namespace == "" classname = name.sub(/^::/, '') unless table[classname] |
