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
26 def yaml_dir_path
27   base = Puppet.run_mode.server? ? Puppet[:yamldir] : Puppet[:clientyamldir]
28   File.join(base, 'facts', '*.yaml')
29 end