summaryrefslogtreecommitdiffstats
path: root/spec/lib/puppet_spec/files.rb
diff options
context:
space:
mode:
authorJesse Wolfe <jes5199@gmail.com>2010-07-28 14:54:23 -0700
committermarkus <markus@AVA-351181.(none)>2010-08-03 15:19:34 -0700
commit449315a2c705df2396852462a1d1e14774b9f117 (patch)
treec81d69a277c81fe87f46678475c7a1395d9d970a /spec/lib/puppet_spec/files.rb
parentdaa801b9ff8c81e6812a08a3f6ef82f593248e9d (diff)
downloadpuppet-449315a2c705df2396852462a1d1e14774b9f117.tar.gz
puppet-449315a2c705df2396852462a1d1e14774b9f117.tar.xz
puppet-449315a2c705df2396852462a1d1e14774b9f117.zip
[#4397]+[#4344] Move type-name resolution out of Puppet::Resource into the AST resources.
Move type-name resolution out of Puppet::Resource into the AST resources. Move find_resource_type out of Puppet::Resource into Scope Thus, never pass unqualified type names to Puppet::Resource objects. Thus, Puppet::Resource objects don't need the namespace property, and Puppet::Resource objects never consult the harddrive to look for .pp files that might contain their type definitions, Thus, performance is improved. Also removes the temporary fix for #4257 that caused #4397 (The code was too eager to look for a class in the topscope) Paired-With: Paul Berry <paul@puppetlabs.com> Signed-off-by: Jesse Wolfe <jes5199@gmail.com>
Diffstat (limited to 'spec/lib/puppet_spec/files.rb')
0 files changed, 0 insertions, 0 deletions