class Facts::Yaml

Public Instance Methods

Private Instance Methods

yaml_dir_path() click to toggle source

Return the path to a given node's file.

   # File lib/puppet/indirector/facts/yaml.rb
25 def yaml_dir_path
26   base = Puppet.run_mode.server? ? Puppet[:yamldir] : Puppet[:clientyamldir]
27   File.join(base, 'facts', '*.yaml')
28 end