From a4602595b24fe9c149ecca8ebdb2f98e1ba5f4f7 Mon Sep 17 00:00:00 2001 From: jtimberman Date: Mon, 9 Apr 2012 12:51:54 -0600 Subject: [PATCH] release v1.0.0 --- CHANGELOG.md | 6 ++++++ README.md | 14 ++++++++++++++ metadata.rb | 9 +++++++-- 3 files changed, 27 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 91fb23b..f8e932c 100644 --- a/CHANGELOG.md +++ b/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. diff --git a/README.md b/README.md index e16a2c2..fd25be8 100644 --- a/README.md +++ b/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 ===== diff --git a/metadata.rb b/metadata.rb index 2b449c4..25ce816 100644 --- a/metadata.rb +++ b/metadata.rb @@ -2,11 +2,12 @@ maintainer "Opscode, Inc." 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 @@ attribute "postfix/smtp_sasl_passwd", :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 => ""