aboutsummaryrefslogtreecommitdiff
path: root/manifests/mailman.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-25 14:03:24 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-25 14:03:24 -0200
commit8b78b15e57c4b802be46c540a16be42fd23435f5 (patch)
tree7f5b17dcf1da2de3626d3105c961534b16c1db87 /manifests/mailman.pp
parent5e806b99e2448dfb4bcd880b3c77578e1a15c8aa (diff)
downloadpuppet-postfix-8b78b15e57c4b802be46c540a16be42fd23435f5.tar.gz
puppet-postfix-8b78b15e57c4b802be46c540a16be42fd23435f5.tar.bz2
Switching to parametrized classes
Diffstat (limited to 'manifests/mailman.pp')
-rw-r--r--manifests/mailman.pp10
1 files changed, 4 insertions, 6 deletions
diff --git a/manifests/mailman.pp b/manifests/mailman.pp
index cba0848..8c6ee32 100644
--- a/manifests/mailman.pp
+++ b/manifests/mailman.pp
@@ -4,19 +4,17 @@
# Configures a basic smtp server, able to work for the mailman mailing-list
# manager.
#
-# Parameters:
-# - every global variable which works for class "postfix" will work here.
-#
# Example usage:
#
# node "toto.example.com" {
# include mailman
-# include postfix::mailman
+# class { 'postfix::mailman': }
# }
#
class postfix::mailman {
- $postfix_smtp_listen = "0.0.0.0"
- include postfix
+ class { 'postfix':
+ smtp_listen => "0.0.0.0",
+ }
postfix::config {
"mydestination": value => "";