metadata task and json data

The rakefile shouldn't delete the metadata task, since the
ability to generate JSON metadata from the cookbooks directory
is still useful.

Lets also ship the metadata in JSON in the cookbooks, so others can
make use of it without having to run any Ruby.
This commit is contained in:
jtimberman 2009-09-03 16:32:50 -06:00
parent 257815edad
commit 5f8b1e1dc0

194
metadata.json Normal file
View File

@ -0,0 +1,194 @@
{
"maintainer": "Opscode, Inc.",
"description": "Installs and configures postfix for client or outbound relayhost, or to do SASL auth",
"recommendations": {
},
"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": {
},
"attributes": {
"postfix\/smtp_sasl_password_maps": {
"default": "hash:\/etc\/postfix\/sasl_passwd",
"type": "string",
"multiple_values": false,
"description": "hashmap of SASL passwords",
"display_name": "Postfix SMTP SASL Password Maps",
"recipes": [
],
"required": false
},
"postfix\/smtp_sasl_security_options": {
"default": "noanonymous",
"type": "string",
"multiple_values": false,
"description": "Sets the value of smtp_sasl_security_options in main.cf",
"display_name": "Postfix SMTP SASL Security Options",
"recipes": [
],
"required": false
},
"postfix\/mail_relay_networks": {
"default": "127.0.0.0\/8",
"type": "string",
"multiple_values": false,
"description": "Sets the mynetworks value in main.cf",
"display_name": "Postfix Mail Relay Networks",
"recipes": [
],
"required": false
},
"postfix\/myorigin": {
"default": "$myhostname",
"type": "string",
"multiple_values": false,
"description": "Sets the myorigin value in main.cf",
"display_name": "Postfix Myorigin",
"recipes": [
],
"required": false
},
"postfix\/myhostname": {
"default": "fqdn",
"type": "string",
"multiple_values": false,
"description": "Sets the myhostname value in main.cf",
"display_name": "Postfix Myhostname",
"recipes": [
],
"required": false
},
"postfix\/smtp_sasl_user_name": {
"default": "",
"type": "string",
"multiple_values": false,
"description": "User to auth SMTP via SASL",
"display_name": "Postfix SMTP SASL Username",
"recipes": [
],
"required": false
},
"postfix\/smtp_tls_cafile": {
"default": "\/etc\/postfix\/cacert.pem",
"type": "string",
"multiple_values": false,
"description": "CA certificate file for SMTP over TLS",
"display_name": "Postfix SMTP TLS CA File",
"recipes": [
],
"required": false
},
"postfix\/smtp_sasl_passwd": {
"default": "",
"type": "string",
"multiple_values": false,
"description": "Password for smtp_sasl_user_name",
"display_name": "Postfix SMTP SASL Password",
"recipes": [
],
"required": false
},
"postfix\/mail_type": {
"default": "client",
"type": "string",
"multiple_values": false,
"description": "Is this node a client or server?",
"display_name": "Postfix Mail Type",
"recipes": [
],
"required": false
},
"postfix\/smtp_use_tls": {
"default": "yes",
"type": "string",
"multiple_values": false,
"description": "Whether SMTP SASL Auth should use TLS encryption",
"display_name": "Postfix SMTP Use TLS?",
"recipes": [
],
"required": false
},
"postfix\/relayhost": {
"default": "",
"type": "string",
"multiple_values": false,
"description": "Sets the relayhost value in main.cf",
"display_name": "Postfix Relayhost",
"recipes": [
],
"required": false
},
"postfix\/smtp_sasl_auth_enable": {
"default": "no",
"type": "string",
"multiple_values": false,
"description": "Enable SMTP SASL Authentication",
"display_name": "Postfix SMTP SASL Auth Enable",
"recipes": [
],
"required": false
},
"postfix\/mydomain": {
"default": "domain",
"type": "string",
"multiple_values": false,
"description": "Sets the mydomain value in main.cf",
"display_name": "Postfix Mydomain",
"recipes": [
],
"required": false
},
"postfix": {
"type": "hash",
"multiple_values": false,
"description": "Hash of Postfix attributes",
"display_name": "Postfix",
"recipes": [
],
"required": false
}
},
"providing": {
"postfix::sasl_auth": [
],
"postfix": [
]
},
"license": "Apache 2.0",
"long_description": "",
"replacing": {
},
"dependencies": {
}
}