From 76f8b31a4756332c4f2668b68f351f078370a322 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 6 Apr 2016 21:24:53 -0300 Subject: Parametrize --- manifests/init.pp | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'manifests') diff --git a/manifests/init.pp b/manifests/init.pp index 087d586..7a011ae 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -16,7 +16,21 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . -class exim { +class exim( + $eximconfig_configtype = 'internet', + $other_hostnames = $::fqdn, + $local_interfaces = '127.0.0.1', + $readhost = '', + $relay_domains = '', + $minimaldns = 'false', + $relay_nets = '', + $smarthost = '', + $cfilemode = '644', + $use_split_config = 'false', + $hide_mailname = '', + $mailname_in_oh = 'true', + $localdelivery = 'mail_spool', +) { package { "exim4": ensure => present, } @@ -68,5 +82,4 @@ class exim { refreshonly => true, notify => Service["exim4"], } - } -- cgit v1.2.3