On Thu, May 2, 2013 at 6:59 PM, Dustin J. Mitchell <[email protected]>wrote:

> On Thu, May 2, 2013 at 9:46 PM, Alex Harvey <[email protected]> wrote:
> > I need to submit a patch to fix #18393 as it is affecting about half my
> > fleet - turns out AIX<=5.3, Solaris<=8, and all HP-UX don't have a diff
> with
> > -u.  I would like to submit a patch that allows us to specify diff args
> in
> > the configuration file that override the defaults.  I'd just like to
> check
> > in with everyone first that there are no in principle objections to what
> I'm
> > doing.
>
>
No principle objection


> The way 'diff' is hardcoded into the source is a little janky.  It'd
> be nice to allow that to be fully customized, rather than just
> accepting args to add to a hard-coded 'diff'.
>
>
I do, however, agree with Dustin. The first time I found the diff call it
was a bit of a WTF moment. I would be for either making the entire diff
call configurable or replace the call to an external prog with a ruby diff
implementation.

If we change the call (such as dropping -u in certain cases) could this
cause any problems? Are there any systems that are using that diff output
for anything? Or is this just a thing that humans read?


> Dustin
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/puppet-dev?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>


-- 
Andrew Parker
[email protected]
Freenode: zaphod42
Twitter: @aparker42
Software Developer

*Join us at PuppetConf 2013, August 22-23 in San Francisco - *
http://bit.ly/pupconf13*
**Register now and take advantage of the Early Bird discount - save 25%!*

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-dev?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to