# File lib/puppet/indirector/yaml.rb, line 45 45: def path(name,ext='.yaml') 46: base = Puppet.run_mode.master? ? Puppet[:yamldir] : Puppet[:clientyamldir] 47: File.join(base, self.class.indirection_name.to_s, name.to_s + ext) 48: end