Commit 7407878b authored by treydock's avatar treydock Committed by Raphaël Pinson
Browse files

Add show_diff parameter to postfix::conffile (#226)

parent e6c279d7
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -26,6 +26,9 @@
# [*options*]
#   Hash with options to use in the template
#
# [*show_diff*]
#   Boolean that sets File show_diff parameter
#
# == Usage:
# postfix::conffile { 'ldapoptions.cf':
#   options            => {
@@ -50,6 +53,7 @@ define postfix::conffile (
  Stdlib::Absolutepath                   $path      = "/etc/postfix/${name}",
  String                                 $mode      = '0640',
  Hash                                   $options   = {},
  Boolean                                $show_diff = true,
) {
  include ::postfix::params

@@ -88,6 +92,7 @@ define postfix::conffile (
    require   => Package['postfix'],
    source    => $source,
    content   => $manage_content,
    show_diff => $show_diff,
    notify    => Service['postfix'],
  }