From 75a7dcb1f446e09c1336c5d91e0ec62429db9e2f Mon Sep 17 00:00:00 2001 From: jtimberman Date: Sun, 25 Apr 2010 12:51:37 -0600 Subject: [PATCH 1/2] Remove metadata.json and update application readme. * Metadata.json can be generated with the rake tasks. * Use 'metadata[cookbook]' and 'metadata_all' to generate .json. * Application readme needed a few more clarification points. --- metadata.json | 231 -------------------------------------------------- 1 file changed, 231 deletions(-) delete mode 100644 metadata.json diff --git a/metadata.json b/metadata.json deleted file mode 100644 index 734f469..0000000 --- a/metadata.json +++ /dev/null @@ -1,231 +0,0 @@ -{ - "dependencies": { - }, - "replacing": { - }, - "description": "Installs and configures postfix for client or outbound relayhost, or to do SASL auth", - "groupings": { - }, - "platforms": { - "ubuntu": [ - - ], - "debian": [ - - ] - }, - "version": "0.7.0", - "recommendations": { - }, - "name": "postfix", - "maintainer": "Opscode, Inc.", - "long_description": "", - "recipes": { - "postfix::sasl_auth": "Set up postfix to auth to a server with sasl" - }, - "suggestions": { - }, - "maintainer_email": "cookbooks@opscode.com", - "attributes": { - "postfix/smtp_sasl_password_maps": { - "calculated": false, - "default": "hash:/etc/postfix/sasl_passwd", - "type": "string", - "choice": [ - - ], - "description": "hashmap of SASL passwords", - "display_name": "Postfix SMTP SASL Password Maps", - "recipes": [ - - ], - "required": "optional" - }, - "postfix/smtp_sasl_security_options": { - "calculated": false, - "default": "noanonymous", - "type": "string", - "choice": [ - - ], - "description": "Sets the value of smtp_sasl_security_options in main.cf", - "display_name": "Postfix SMTP SASL Security Options", - "recipes": [ - - ], - "required": "optional" - }, - "postfix/mail_relay_networks": { - "calculated": false, - "default": "127.0.0.0/8", - "type": "string", - "choice": [ - - ], - "description": "Sets the mynetworks value in main.cf", - "display_name": "Postfix Mail Relay Networks", - "recipes": [ - - ], - "required": "optional" - }, - "postfix/myorigin": { - "calculated": false, - "default": "$myhostname", - "type": "string", - "choice": [ - - ], - "description": "Sets the myorigin value in main.cf", - "display_name": "Postfix Myorigin", - "recipes": [ - - ], - "required": "optional" - }, - "postfix/myhostname": { - "calculated": false, - "default": "fqdn", - "type": "string", - "choice": [ - - ], - "description": "Sets the myhostname value in main.cf", - "display_name": "Postfix Myhostname", - "recipes": [ - - ], - "required": "optional" - }, - "postfix/smtp_sasl_user_name": { - "calculated": false, - "default": "", - "type": "string", - "choice": [ - - ], - "description": "User to auth SMTP via SASL", - "display_name": "Postfix SMTP SASL Username", - "recipes": [ - - ], - "required": "optional" - }, - "postfix/smtp_tls_cafile": { - "calculated": false, - "default": "/etc/postfix/cacert.pem", - "type": "string", - "choice": [ - - ], - "description": "CA certificate file for SMTP over TLS", - "display_name": "Postfix SMTP TLS CA File", - "recipes": [ - - ], - "required": "optional" - }, - "postfix/smtp_sasl_passwd": { - "calculated": false, - "default": "", - "type": "string", - "choice": [ - - ], - "description": "Password for smtp_sasl_user_name", - "display_name": "Postfix SMTP SASL Password", - "recipes": [ - - ], - "required": "optional" - }, - "postfix/mail_type": { - "calculated": false, - "default": "client", - "type": "string", - "choice": [ - - ], - "description": "Is this node a client or server?", - "display_name": "Postfix Mail Type", - "recipes": [ - - ], - "required": "optional" - }, - "postfix/smtp_use_tls": { - "calculated": false, - "default": "yes", - "type": "string", - "choice": [ - - ], - "description": "Whether SMTP SASL Auth should use TLS encryption", - "display_name": "Postfix SMTP Use TLS?", - "recipes": [ - - ], - "required": "optional" - }, - "postfix/relayhost": { - "calculated": false, - "default": "", - "type": "string", - "choice": [ - - ], - "description": "Sets the relayhost value in main.cf", - "display_name": "Postfix Relayhost", - "recipes": [ - - ], - "required": "optional" - }, - "postfix/smtp_sasl_auth_enable": { - "calculated": false, - "default": "no", - "type": "string", - "choice": [ - - ], - "description": "Enable SMTP SASL Authentication", - "display_name": "Postfix SMTP SASL Auth Enable", - "recipes": [ - - ], - "required": "optional" - }, - "postfix/mydomain": { - "calculated": false, - "default": "domain", - "type": "string", - "choice": [ - - ], - "description": "Sets the mydomain value in main.cf", - "display_name": "Postfix Mydomain", - "recipes": [ - - ], - "required": "optional" - }, - "postfix": { - "calculated": false, - "type": "hash", - "choice": [ - - ], - "description": "Hash of Postfix attributes", - "display_name": "Postfix", - "recipes": [ - - ], - "required": "optional" - } - }, - "conflicting": { - }, - "license": "Apache 2.0", - "providing": { - } - } \ No newline at end of file From 7ec6953a5d2d6c81897bcc017e18f4862959fb7e Mon Sep 17 00:00:00 2001 From: jtimberman Date: Sun, 25 Apr 2010 13:25:22 -0600 Subject: [PATCH 2/2] Updating for Chef 0.8 changes. * Use 'default.rb' for attributes files when specific files not necessary * Update search in rsyslog recipe. --- attributes/{postfix.rb => default.rb} | 0 metadata.rb | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename attributes/{postfix.rb => default.rb} (100%) diff --git a/attributes/postfix.rb b/attributes/default.rb similarity index 100% rename from attributes/postfix.rb rename to attributes/default.rb diff --git a/metadata.rb b/metadata.rb index 18d8032..7a0b488 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.7" +version "0.8" recipe "postfix::sasl_auth", "Set up postfix to auth to a server with sasl" %w{ubuntu debian}.each do |os|