On Tuesday, April 1, 2014 12:00:45 PM UTC-5, Robin Bowes wrote:
>
> I suspect duplicate keys are not valid YAML. 
>
Indeed they are not.  The keys of a YAML mapping are required to be unique (
http://www.yaml.org/spec/1.2/spec.html#id2764044).

How a particular YAML processor deals with duplicate mapping keys is 
implementation-defined, but the most likely behaviors are an error message 
and/or choosing one the two values presented for the duplicate key.  I 
don't see how merging the values is even viable.


John

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/202c4e9b-1846-4c7a-885b-ce1138c208dd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to