----- Original Message -----
> From: "Larry Fast" <[email protected]>
> To: [email protected]
> Sent: Sunday, April 14, 2013 3:35:29 PM
> Subject: [Puppet Users] Re: what's the syntax for converting the yaml of 
> facts into a hash table?
> 
> Starting to get some clarity but still need help. Using YAML to load Facts
> produces the YAML object below. But I'm still not clear on how to access
> the contents.
> 
> myFacts = YAML.load( facts.yaml )

YAML.load_file("facts.yaml")

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to