D -- The intent is to perform operations on catalogs from 0.25.x using the 2.6.x >>> codebase. >>> >>> things like: >>> - diffs >>> - Writing filters (show me all resources, show me all Files) >>> - eventually some more complicated things. >>> >> >> So off the top of my head (& before coffee) we probably need something >> like the reverse of the #3656/#5206 fix to automatically run on >> deserialization then, > > > Puppet currently does not have a need for this (maybe for running: puppet > apply --apply foo.yaml on 0.25.x catalogs), it definitely makes some of the > goals of my side project a little easier to accomplish. >
That may be a significant use case. At the very least, we'll probably have a fair number of people hitting it accidentally during an upgrade (e.g. after an initial failure to connect). > > >> which would look sort of like your code but with recursion (to handle >> references in arrays & nested bits) > > > does that mean that my code is inherently flawed? I definitely did not test > with arrays of references :) > Well, it's part of reality which this morning is seeming inherently flawed, so yeah, I'd say the odds were good. If you look at the patches for the tickets mentioned above you can see how the reverse transformation was implemented. > and conditional (because the catalog may *not* be from 0.25.x!). >> > > I would rather be able to query catalogs for their version (as opposed to > the resources) > Yeah, that would be sweet. Would you expect to have to deserialize the catalog before asking it for its version? :) -- M ----------------------------------------------------------- When in trouble or in doubt, run in circles, scream and shout. -- 1920's parody of the maritime general prudential rule ------------------------------------------------------------ -- 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.
