diff options
author | Luke Kanies <luke@reductivelabs.com> | 2010-01-31 13:40:33 -0800 |
---|---|---|
committer | test branch <puppet-dev@googlegroups.com> | 2010-02-17 06:50:53 -0800 |
commit | 6e4db8261af6372c6acad4e8ff3f7a32e7a074fb (patch) | |
tree | 7f8cf664948dcbe4bd192a0b9cdd80755c3eb336 /lib/puppet/reference/function.rb | |
parent | aa659f27aaa40507cb1199df048fb85b2c586944 (diff) | |
download | puppet-6e4db8261af6372c6acad4e8ff3f7a32e7a074fb.tar.gz puppet-6e4db8261af6372c6acad4e8ff3f7a32e7a074fb.tar.xz puppet-6e4db8261af6372c6acad4e8ff3f7a32e7a074fb.zip |
Fixing type/title resource resolution
This code is impressively difficult, because
sometimes resource types act like resources (classes
and nodes are singletons) and sometimes like resource
types (defined and builtin resources).
So, to get nodes to show as Node[foo] and classes as
Class[Foo::Bar], but defined resources to show up as
Foo::Bar[baz], we have to do some silliness.
Signed-off-by: Luke Kanies <luke@reductivelabs.com>
Diffstat (limited to 'lib/puppet/reference/function.rb')
0 files changed, 0 insertions, 0 deletions