On Apr 25, 2009, at 5:49 PM, Brice Figureau wrote:
>
> On 25/04/09 1:10, Luke Kanies wrote:
>> Unfortunately, again because of a Ruby bug
>> (http://rubyforge.org/tracker/?group_id=426&atid=1698&func=detail&aid=8886
>> )
>> Ruby can't print yaml that it can read, if custom
>> classes are used as keys in hashes, which Sets use internally.
>
> Note, that I can trigger the same issue but with the VertexWrapper in
> and out Sets in relation to RelationShip:
>
> ...
> vertices:
> *id002: !ruby/object:Puppet::SimpleGraph::VertexWrapper
> adjacencies:
> :out: {}
>
> :in:
> *id003: !ruby/object:Set
> hash:
> &id004 !ruby/object:Puppet::Relationship ?
> ------------------^
> not good!
> source: *id003
> target: *id002
> : true
>
> vertex: *id002
> ...
Even with this patch applied?
>
> And it seems --catalog_format doesn't exist anynore in 0.25, is that
> right?
Right; we have a general serialization system now as part of the
Indirector (Puppet::Network::Format*), and the format is essentially
chosen automatically but you can set a preferred serialization format
for all types that serialize (e.g., not files). The new option is,
creatively, --preferred_serialization_format=<foo>.
--
To my embarrassment I was born in bed with a lady.
--Wilson Mizner
---------------------------------------------------------------------
Luke Kanies | http://reductivelabs.com | http://madstop.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Developers" 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-dev?hl=en
-~----------~----~----~----~------~----~------~--~---