class Puppet::Pops::Loader::LoaderPaths::ResourceTypeImplPP
Constants
- RESOURCE_TYPES_PATH_PP
Public Instance Methods
effective_path(typed_name, start_index_in_name)
click to toggle source
The effect paths for resource type impl is the full name since resource types are not name spaced. This overrides the default PuppetSmartPath.
# File lib/puppet/pops/loader/loader_paths.rb 307 def effective_path(typed_name, start_index_in_name) 308 # Resource type to name does not skip the name-space 309 # i.e. <module>/mymodule/resource_types/foo.pp is the resource type foo 310 "#{File.join(generic_path, typed_name.name_parts)}.pp" 311 end
instantiator()
click to toggle source
# File lib/puppet/pops/loader/loader_paths.rb 299 def instantiator 300 PuppetResourceTypeImplInstantiator 301 end
relative_path()
click to toggle source
# File lib/puppet/pops/loader/loader_paths.rb 291 def relative_path 292 RESOURCE_TYPES_PATH_PP 293 end
root_path()
click to toggle source
# File lib/puppet/pops/loader/loader_paths.rb 295 def root_path 296 @loader.path 297 end