On Wed, Oct 10, 2012 at 9:35 AM, kish <[email protected]> wrote:
> How do I send in extra options to the diff program that runs when
> puppet shows the diff between files.
>
> I'm looking to get the sdiff kind of output.
>
> Can't seem to remember the option.
I think you're looking for these options, settable in puppet.conf:
# Which arguments to pass to the diff command when printing
differences between
# files. The command to use can be chosen with the `diff` setting.
# The default value is '-u'.
# diff_args = -u
# Which diff command to use when printing differences between
files. This setting
# has no default value on Windows, as standard `diff` is not
available, but Puppet can use many
# third-party diff tools.
# The default value is 'diff'.
# diff = diff
# Whether to log and report a contextual diff when files are being
replaced. This causes
# partial file contents to pass through Puppet's normal logging
and reporting system, so this setting
# should be used with caution if you are sending Puppet's reports
to an insecure destination.
# This feature currently requires the `diff/lcs` Ruby library.
# show_diff = false
-Jeff
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" 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-users?hl=en.