Oh yes, I forgot the first line of my snippet. But I still don't have a working syntax for reading the facts from that object.
facts = File.read(filename) myFact = YAML.load( facts ) print myFacts.inspect > > #<YAML::Object:0x7f550d6c6858 @class="Puppet::Node::Facts", > @ivars={"values"=>{"timezone"=>"UTC", "puppet_vardir"=>"/var/lib/puppet", > "macaddress_eth0"=>"00:50:56:8D:4E:95", ... > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.