Commit de609e76 authored by Raphaël Pinson's avatar Raphaël Pinson
Browse files

Add manage_conffiles

parent 8f8b5813
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@ class postfix::files {
  $alias_maps          = $postfix::all_alias_maps
  $inet_interfaces     = $postfix::inet_interfaces
  $mail_user           = $postfix::mail_user
  $manage_conffiles    = $postfix::manage_conffiles
  $master_smtp         = $postfix::master_smtp
  $master_smtps        = $postfix::master_smtps
  $master_submission   = $postfix::master_submission
@@ -15,6 +16,10 @@ class postfix::files {
  $use_schleuder       = $postfix::use_schleuder
  $use_sympa           = $postfix::use_sympa

  File {
    replace => $manage_conffiles,
  }

  file { '/etc/mailname':
    ensure  => 'file',
    content => "${::fqdn}\n",
+3 −0
Original line number Diff line number Diff line
@@ -24,6 +24,8 @@
#
# [*maincf_source*]       - (string)
#
# [*manage_conffiles*]    - (boolean) Whether config files are to be replaced
#
# [*mastercf_source*]     - (string)
#
# [*master_smtp*]         - (string)
@@ -73,6 +75,7 @@ class postfix (
  $mail_user           = 'vmail',       # postfix_mail_user
  $mailman             = false,
  $maincf_source       = "puppet:///modules/${module_name}/main.cf",
  $manage_conffiles    = true,
  $mastercf_source     = undef,
  $master_smtp         = undef,         # postfix_master_smtp
  $master_smtps        = undef,         # postfix_master_smtps