#67 -[COOK-4662] Added support for access control

Signed-off-by: Sean OMeara <someara@opscode.com>
This commit is contained in:
Sander van Harmelen
2014-06-11 14:03:14 -04:00
committed by Sean OMeara
parent bfe9cd760e
commit e4c9b11039
4 changed files with 52 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ 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::access', 'Manages /etc/postfix/access'
recipe 'postfix::client', 'Searches for the relayhost based on an attribute'
recipe 'postfix::server', 'Sets the mail_type attribute to master'
@@ -31,6 +32,11 @@ attribute '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/access',
display_name: 'Postfix Access Table',
description: "Hash of Postfix accesses mapping a pattern to a action. Example 'domain.tld' => 'OK'. See access man page for details.",
type: 'hash'
attribute 'postfix/mail_type',
display_name: 'Postfix Mail Type',
description: 'Is this node a client or server?',