summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-04-06 21:24:53 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-04-06 21:24:53 -0300
commit76f8b31a4756332c4f2668b68f351f078370a322 (patch)
tree25f8927ab82b4dfa9ddd0c44dda23dbec467b215 /manifests
parente0df3d6f77695792816453a930cfa7eff4d94bfd (diff)
downloadpuppet-exim-76f8b31a4756332c4f2668b68f351f078370a322.tar.gz
puppet-exim-76f8b31a4756332c4f2668b68f351f078370a322.tar.bz2
Parametrize
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp17
1 files changed, 15 insertions, 2 deletions
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 <http://www.gnu.org/licenses/>.
-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"],
}
-
}