Checking the wiki and the examples, all facts are always scalars.

http://reductivelabs.com/trac/puppet/wiki/Recipes/NetworksFactsRecipe
uses numbers in scalars with the same base name, which is broken.

http://reductivelabs.com/trac/puppet/wiki/Recipes/UserFact stores the
usernames array as a comma separated list of values in a scalar as
well.

http://reductivelabs.com/trac/puppet/wiki/Recipes/atjobs i am not sure
that I understand correctly, but apparently here we generate a scalar
which happens to be a yaml serialization of a proper data structure.
If that is the case, this appears the best workaround for the problem.

But isn't there a way to have non-scalar facts? Consider the output of
lvs - I want this as an Array Of Hashes or a Hash Of Hashes. How to do
that?

Kris

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to