#66 - [COOK-3652] Added support for transport mappings

Signed-off-by: Sean OMeara <someara@opscode.com>
This commit is contained in:
Sander van Harmelen
2014-06-11 13:58:33 -04:00
committed by Sean OMeara
parent e2d49e10e9
commit bfe9cd760e
4 changed files with 50 additions and 1 deletions

View File

@@ -8,6 +8,7 @@ version '3.2.1'
recipe 'postfix', 'Installs and configures postfix'
recipe 'postfix::sasl_auth', 'Set up postfix to auth to a server with sasl'
recipe 'postfix::aliases', 'Manages /etc/aliases'
recipe 'postfix::transports', 'Manages /etc/postfix/transport'
recipe 'postfix::client', 'Searches for the relayhost based on an attribute'
recipe 'postfix::server', 'Sets the mail_type attribute to master'
@@ -22,7 +23,12 @@ attribute 'postfix/main',
attribute 'postfix/aliases',
display_name: 'Postfix Aliases',
description: "Hash of Postfix aliases mapping a name to a value. Example 'root' => 'operator@example.com'. See aliases man page for details.",
description: "Hash of Postfix aliases mapping a name to a value. Example 'root' => 'operator@example.com'. See aliases man page for details.",
type: 'hash'
attribute 'postfix/transports',
display_name: 'Postfix Transports',
description: "Hash of Postfix transports mapping a destination to a smtp server. Example 'my.domain' => 'smtp:outbound-relay.my.domain'. See transport man page for details.",
type: 'hash'
attribute 'postfix/mail_type',