diff --git a/attributes/default.rb b/attributes/default.rb index 9246a44..f92a13b 100644 --- a/attributes/default.rb +++ b/attributes/default.rb @@ -1,14 +1,14 @@ -set_unless[:postfix][:mail_type] = "client" -set_unless[:postfix][:myhostname] = fqdn -set_unless[:postfix][:mydomain] = domain -set_unless[:postfix][:myorigin] = "$myhostname" -set_unless[:postfix][:relayhost] = "" -set_unless[:postfix][:mail_relay_networks] = "127.0.0.0/8" +default[:postfix][:mail_type] = "client" +default[:postfix][:myhostname] = fqdn +default[:postfix][:mydomain] = domain +default[:postfix][:myorigin] = "$myhostname" +default[:postfix][:relayhost] = "" +default[:postfix][:mail_relay_networks] = "127.0.0.0/8" -set_unless[:postfix][:smtp_sasl_auth_enable] = "no" -set_unless[:postfix][:smtp_sasl_password_maps] = "hash:/etc/postfix/sasl_passwd" -set_unless[:postfix][:smtp_sasl_security_options] = "noanonymous" -set_unless[:postfix][:smtp_tls_cafile] = "/etc/postfix/cacert.pem" -set_unless[:postfix][:smtp_use_tls] = "yes" -set_unless[:postfix][:smtp_sasl_user_name] = "" -set_unless[:postfix][:smtp_sasl_passwd] = "" +default[:postfix][:smtp_sasl_auth_enable] = "no" +default[:postfix][:smtp_sasl_password_maps] = "hash:/etc/postfix/sasl_passwd" +default[:postfix][:smtp_sasl_security_options] = "noanonymous" +default[:postfix][:smtp_tls_cafile] = "/etc/postfix/cacert.pem" +default[:postfix][:smtp_use_tls] = "yes" +default[:postfix][:smtp_sasl_user_name] = "" +default[:postfix][:smtp_sasl_passwd] = "" diff --git a/metadata.json b/metadata.json index 7f0e1d6..82fc46c 100644 --- a/metadata.json +++ b/metadata.json @@ -1,5 +1,5 @@ { - "recommendations": { + "providing": { }, "attributes": { "postfix/smtp_sasl_password_maps": { @@ -198,13 +198,13 @@ "display_name": "Postfix" } }, - "maintainer": "Opscode, Inc.", - "suggestions": { + "replacing": { }, "dependencies": { }, - "maintainer_email": "cookbooks@opscode.com", - "conflicting": { + "groupings": { + }, + "recommendations": { }, "platforms": { "debian": [ @@ -215,18 +215,18 @@ ] }, "license": "Apache 2.0", - "version": "0.8.1", - "providing": { + "version": "0.8.2", + "maintainer": "Opscode, Inc.", + "suggestions": { }, "recipes": { "postfix::sasl_auth": "Set up postfix to auth to a server with sasl", "postfix": "Installs and configures postfix" }, - "replacing": { - }, + "maintainer_email": "cookbooks@opscode.com", "name": "postfix", - "description": "Installs and configures postfix for client or outbound relayhost, or to do SASL auth", - "groupings": { + "conflicting": { }, + "description": "Installs and configures postfix for client or outbound relayhost, or to do SASL auth", "long_description": "" } \ No newline at end of file diff --git a/metadata.rb b/metadata.rb index 534454b..77d3b24 100644 --- a/metadata.rb +++ b/metadata.rb @@ -2,7 +2,7 @@ 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.1" +version "0.8.2" recipe "postfix", "Installs and configures postfix" recipe "postfix::sasl_auth", "Set up postfix to auth to a server with sasl"