From d3918db07bb550d340c95b6ab495a346733c9c25 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Wed, 17 Nov 2010 15:35:10 +0000 Subject: - add a proto module for taking care of pam ( need pam_ldap, etc support, and a review of the pam config file too ) --- modules/postfix/manifests/init.pp | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'modules/postfix') diff --git a/modules/postfix/manifests/init.pp b/modules/postfix/manifests/init.pp index 980e3271..3cdff360 100644 --- a/modules/postfix/manifests/init.pp +++ b/modules/postfix/manifests/init.pp @@ -4,7 +4,7 @@ class postfix { package { postfix: ensure => installed } - package { 'nail': + package { 'nail': ensure => installed } service { postfix: @@ -30,4 +30,17 @@ class postfix { content => template("postfix/simple_relay_main.cf"), } } + + class primary_smtp inherits base { + file { '/etc/postfix/main.cf': + content => template("postfix/primary_main.cf"), + } + } + + class secondary_smtp inherits base { + file { '/etc/postfix/main.cf': + content => template("postfix/secondary_main.cf"), + } + } + } -- cgit v1.2.1