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
......@@ -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'],
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment