Unverified Commit f880b823 authored by Tim Meusel's avatar Tim Meusel Committed by GitHub
Browse files

Merge pull request #451 from anders-larsson/postfix_package_param

Add parameter for postfix package name
parents cdd9332c 446a2ba6
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
---
postfix::params::aliasesseltype: ~
postfix::params::seltype: ~
postfix::params::postfix_package: 'postfix'
postfix::params::mailx_package: 'mailx'
postfix::params::master_os_template: "postfix/master.cf.default.erb"
postfix::params::restart_cmd: '/etc/init.d/postfix reload'
+1 −0
Original line number Diff line number Diff line
@@ -7,6 +7,7 @@ class postfix::packages {

  package { 'postfix':
    ensure => $postfix::postfix_ensure,
    name   => $postfix::params::postfix_package,
  }

  if ($postfix::manage_mailx) {
+4 −0
Original line number Diff line number Diff line
@@ -2,6 +2,9 @@
#
# This class provides the appropriate values for operating system specific variables.
#
# @param postfix_package
#   Name of package that provides postfix
#
# @param mailx_package
#   Name of package that provides mailx
#
@@ -20,6 +23,7 @@
# @api private
#
class postfix::params (
  String[1] $postfix_package,
  String $mailx_package,
  String $restart_cmd,
  String $master_os_template,