2010/1/11 Thomas Bellman <[email protected]>: > Paul Nasrat wrote: > >> 2010/1/11 Ohad Levy <[email protected]>: >>> >>> is there a reason why not to strip all facts? >>> >> >> I'm a little cautious about doing that in general in case someone has >> a dependancy on a fact with a space in or valid but odd setups >> (directories with trailing space). Although all the examples I can >> think of are contrived there may be valid cases. >> >> Facts should be responsible for their own data formatting so know when >> it's safe to strip. > > I use a custom fact for transferring (small) binary blobs to the server, > so at least until I have rewritten that to base64-encode it, I would prefer > that facts aren't mangled...
Thanks for a concrete example. We'll stick with the approach of only doing formatting in the individual facts themselves as in this patch. Paul
-- 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.
