diff --git a/metadata.json b/metadata.json index 71b1218..1ef3f8f 100644 --- a/metadata.json +++ b/metadata.json @@ -1,25 +1,22 @@ { - "maintainer": "Opscode, Inc.", "description": "Installs and configures postfix for client or outbound relayhost, or to do SASL auth", - "recommendations": { + "replacing": { }, - "maintainer_email": "cookbooks@opscode.com", - "suggestions": { - - }, - "platforms": { - - }, - "version": "0.7.0", "recipes": { "postfix": "", "postfix::sasl_auth": "Set up postfix to auth to a server with sasl" }, - "name": "postfix", - "conflicting": { + "platforms": { }, + "maintainer": "Opscode, Inc.", + "version": "0.7.0", + "recommendations": { + + }, + "name": "postfix", + "maintainer_email": "cookbooks@opscode.com", "attributes": { "postfix\/smtp_sasl_password_maps": { "default": "hash:\/etc\/postfix\/sasl_passwd", @@ -27,10 +24,10 @@ "multiple_values": false, "description": "hashmap of SASL passwords", "display_name": "Postfix SMTP SASL Password Maps", + "required": false, "recipes": [ - ], - "required": false + ] }, "postfix\/smtp_sasl_security_options": { "default": "noanonymous", @@ -38,10 +35,10 @@ "multiple_values": false, "description": "Sets the value of smtp_sasl_security_options in main.cf", "display_name": "Postfix SMTP SASL Security Options", + "required": false, "recipes": [ - ], - "required": false + ] }, "postfix\/mail_relay_networks": { "default": "127.0.0.0\/8", @@ -49,10 +46,10 @@ "multiple_values": false, "description": "Sets the mynetworks value in main.cf", "display_name": "Postfix Mail Relay Networks", + "required": false, "recipes": [ - ], - "required": false + ] }, "postfix\/myorigin": { "default": "$myhostname", @@ -60,10 +57,10 @@ "multiple_values": false, "description": "Sets the myorigin value in main.cf", "display_name": "Postfix Myorigin", + "required": false, "recipes": [ - ], - "required": false + ] }, "postfix\/myhostname": { "default": "fqdn", @@ -71,10 +68,10 @@ "multiple_values": false, "description": "Sets the myhostname value in main.cf", "display_name": "Postfix Myhostname", + "required": false, "recipes": [ - ], - "required": false + ] }, "postfix\/smtp_sasl_user_name": { "default": "", @@ -82,10 +79,10 @@ "multiple_values": false, "description": "User to auth SMTP via SASL", "display_name": "Postfix SMTP SASL Username", + "required": false, "recipes": [ - ], - "required": false + ] }, "postfix\/smtp_tls_cafile": { "default": "\/etc\/postfix\/cacert.pem", @@ -93,10 +90,10 @@ "multiple_values": false, "description": "CA certificate file for SMTP over TLS", "display_name": "Postfix SMTP TLS CA File", + "required": false, "recipes": [ - ], - "required": false + ] }, "postfix\/smtp_sasl_passwd": { "default": "", @@ -104,10 +101,10 @@ "multiple_values": false, "description": "Password for smtp_sasl_user_name", "display_name": "Postfix SMTP SASL Password", + "required": false, "recipes": [ - ], - "required": false + ] }, "postfix\/mail_type": { "default": "client", @@ -115,10 +112,10 @@ "multiple_values": false, "description": "Is this node a client or server?", "display_name": "Postfix Mail Type", + "required": false, "recipes": [ - ], - "required": false + ] }, "postfix\/smtp_use_tls": { "default": "yes", @@ -126,10 +123,10 @@ "multiple_values": false, "description": "Whether SMTP SASL Auth should use TLS encryption", "display_name": "Postfix SMTP Use TLS?", + "required": false, "recipes": [ - ], - "required": false + ] }, "postfix\/relayhost": { "default": "", @@ -137,10 +134,10 @@ "multiple_values": false, "description": "Sets the relayhost value in main.cf", "display_name": "Postfix Relayhost", + "required": false, "recipes": [ - ], - "required": false + ] }, "postfix\/smtp_sasl_auth_enable": { "default": "no", @@ -148,10 +145,10 @@ "multiple_values": false, "description": "Enable SMTP SASL Authentication", "display_name": "Postfix SMTP SASL Auth Enable", + "required": false, "recipes": [ - ], - "required": false + ] }, "postfix\/mydomain": { "default": "domain", @@ -159,21 +156,31 @@ "multiple_values": false, "description": "Sets the mydomain value in main.cf", "display_name": "Postfix Mydomain", + "required": false, "recipes": [ - ], - "required": false + ] }, "postfix": { "type": "hash", "multiple_values": false, "description": "Hash of Postfix attributes", "display_name": "Postfix", + "required": false, "recipes": [ - ], - "required": false + ] } + }, + "suggestions": { + + }, + "license": "Apache 2.0", + "conflicting": { + + }, + "dependencies": { + }, "providing": { "postfix::sasl_auth": [ @@ -183,12 +190,5 @@ ] }, - "license": "Apache 2.0", - "long_description": "", - "replacing": { - - }, - "dependencies": { - - } + "long_description": "" } \ No newline at end of file diff --git a/recipes/default.rb b/recipes/default.rb index ca0b416..5c97fe5 100644 --- a/recipes/default.rb +++ b/recipes/default.rb @@ -8,9 +8,9 @@ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at -# +# # http://www.apache.org/licenses/LICENSE-2.0 -# +# # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -34,4 +34,4 @@ end mode 0644 notifies :restart, resources(:service => "postfix") end -end \ No newline at end of file +end diff --git a/recipes/sasl_auth.rb b/recipes/sasl_auth.rb index 3efd1d8..1500960 100644 --- a/recipes/sasl_auth.rb +++ b/recipes/sasl_auth.rb @@ -8,9 +8,9 @@ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at -# +# # http://www.apache.org/licenses/LICENSE-2.0 -# +# # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.