Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

release v1.0.0

  • Loading branch information...
commit a4602595b24fe9c149ecca8ebdb2f98e1ba5f4f7 1 parent 0332c34
@jtimberman jtimberman authored
Showing with 27 additions and 2 deletions.
  1. +6 −0 CHANGELOG.md
  2. +14 −0 README.md
  3. +7 −2 metadata.rb
View
6 CHANGELOG.md
@@ -1,3 +1,9 @@
+## v1.0.0:
+
+* [COOK-668] - RHEL/CentOS/Scientific/Amazon platform support
+* [COOK-733] - postfix::aliases recipe to manage /etc/aliases
+* [COOK-831] - add README.md :)
+
## v0.8.4:
* Current public release.
View
14 README.md
@@ -49,6 +49,9 @@ See `attributes/default.rb` for default values.
`sasl_passwd` file as the user to authenticate as.
* `node['postfix']['smtp_sasl_passwd']` - mapped in the `sasl_passwd`
file as the password to use.
+* `node['postfix']['aliases']` - hash of aliases to create with
+ `recipe[postfix::aliases]`, see below under __Recipes__ for more
+ information.
Recipes
=======
@@ -67,6 +70,17 @@ sasl\_auth
Sets up the system to authenticate with a remote mail relay using SASL
authentication.
+aliases
+-------
+
+Manage `/etc/aliases` with this recipe. Currently only Ubuntu 10.04
+platform has a template for the aliases file. Add your aliases
+template to the `templates/default` or to the appropriate
+platform+version directory per the File Specificity rules for
+templates. Then specify a hash of aliases for the
+`node['postfix']['aliases']` attribute.
+
+http://wiki.opscode.com/display/chef/Templates#Templates-TemplateLocationSpecificity
Usage
=====
View
9 metadata.rb
@@ -2,11 +2,12 @@
maintainer_email "cookbooks@opscode.com"
license "Apache 2.0"
description "Installs and configures postfix for client or outbound relayhost, or to do SASL auth"
-version "0.8.4"
+version "1.0.0"
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"
-%w{ubuntu debian redhat centos}.each do |os|
+%w{ubuntu debian redhat centos amazon scientific}.each do |os|
supports os
end
@@ -85,3 +86,7 @@
:description => "Password for smtp_sasl_user_name",
:default => ""
+attribute "postfix/aliases",
+ :display_name => "Postfix mail aliases",
+ :description => "Hash of mail aliases for /etc/aliases",
+ :default => ""
Please sign in to comment.
Something went wrong with that request. Please try again.