Issue #18393 has been updated by Nan Liu.

Umm, it's just a default, and it's already a configuration option?

# puppet.conf
[main]
  diff=custom
  diff_args = ''

$ puppet config print all | grep diff
diff = custom
diff_args = ""

Am I missing something, or are you encountering something buggy about how it 
behaves? 

----------------------------------------
Bug #18393: not all Unix diff programs support -u option
https://projects.puppetlabs.com/issues/18393#change-90431

* Author: Alex Harvey
* Status: Unreviewed
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 3.x
* Affected Puppet version: 3.0.2
* Keywords: hpux
* Branch: 
----------------------------------------
An assumption is made in the puppet code that all versions of Unix support diff 
-u when in fact HP-UX does not and neither does Solaris 8.

In lib/puppet/defaults.rb -

<pre>
    :diff_args => {
        :default  => "-u",
        :desc     => "Which arguments to pass to the diff command when printing 
differences between\n" +
            "files. The command to use can be chosen with the `diff` setting.",
    },
</pre>




-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" 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-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to