COOK-316, add recipes to metadata for all cookbooks

This commit is contained in:
jtimberman 2010-07-01 21:27:59 -06:00
parent 0da74e1490
commit cf1668db86
2 changed files with 124 additions and 122 deletions

View File

@ -1,231 +1,232 @@
{ {
"maintainer": "Opscode, Inc.", "recommendations": {
},
"attributes": { "attributes": {
"postfix/smtp_sasl_password_maps": { "postfix/smtp_sasl_password_maps": {
"default": "hash:/etc/postfix/sasl_passwd", "required": "optional",
"calculated": false, "calculated": false,
"type": "string",
"choice": [ "choice": [
],
"default": "hash:/etc/postfix/sasl_passwd",
"type": "string",
"recipes": [
], ],
"description": "hashmap of SASL passwords", "description": "hashmap of SASL passwords",
"display_name": "Postfix SMTP SASL Password Maps", "display_name": "Postfix SMTP SASL Password Maps"
"required": "optional",
"recipes": [
]
}, },
"postfix/smtp_sasl_security_options": { "postfix/smtp_sasl_security_options": {
"default": "noanonymous", "required": "optional",
"calculated": false, "calculated": false,
"type": "string",
"choice": [ "choice": [
],
"default": "noanonymous",
"type": "string",
"recipes": [
], ],
"description": "Sets the value of smtp_sasl_security_options in main.cf", "description": "Sets the value of smtp_sasl_security_options in main.cf",
"display_name": "Postfix SMTP SASL Security Options", "display_name": "Postfix SMTP SASL Security Options"
"required": "optional",
"recipes": [
]
}, },
"postfix/mail_relay_networks": { "postfix/myorigin": {
"default": "127.0.0.0/8", "required": "optional",
"calculated": false, "calculated": false,
"type": "string",
"choice": [ "choice": [
], ],
"description": "Sets the mynetworks value in main.cf",
"display_name": "Postfix Mail Relay Networks",
"required": "optional",
"recipes": [
]
},
"postfix/myorigin": {
"default": "$myhostname", "default": "$myhostname",
"calculated": false,
"type": "string", "type": "string",
"choice": [ "recipes": [
], ],
"description": "Sets the myorigin value in main.cf", "description": "Sets the myorigin value in main.cf",
"display_name": "Postfix Myorigin", "display_name": "Postfix Myorigin"
"required": "optional",
"recipes": [
]
}, },
"postfix/myhostname": { "postfix/smtp_sasl_user_name": {
"default": "fqdn", "required": "optional",
"calculated": false, "calculated": false,
"type": "string",
"choice": [ "choice": [
], ],
"description": "Sets the myhostname value in main.cf",
"display_name": "Postfix Myhostname",
"required": "optional",
"recipes": [
]
},
"postfix/smtp_sasl_user_name": {
"default": "", "default": "",
"calculated": false,
"type": "string", "type": "string",
"choice": [ "recipes": [
], ],
"description": "User to auth SMTP via SASL", "description": "User to auth SMTP via SASL",
"display_name": "Postfix SMTP SASL Username", "display_name": "Postfix SMTP SASL Username"
},
"postfix/mail_relay_networks": {
"required": "optional", "required": "optional",
"calculated": false,
"choice": [
],
"default": "127.0.0.0/8",
"type": "string",
"recipes": [ "recipes": [
] ],
"description": "Sets the mynetworks value in main.cf",
"display_name": "Postfix Mail Relay Networks"
},
"postfix/myhostname": {
"required": "optional",
"calculated": false,
"choice": [
],
"default": "fqdn",
"type": "string",
"recipes": [
],
"description": "Sets the myhostname value in main.cf",
"display_name": "Postfix Myhostname"
}, },
"postfix/smtp_tls_cafile": { "postfix/smtp_tls_cafile": {
"default": "/etc/postfix/cacert.pem", "required": "optional",
"calculated": false, "calculated": false,
"type": "string",
"choice": [ "choice": [
],
"default": "/etc/postfix/cacert.pem",
"type": "string",
"recipes": [
], ],
"description": "CA certificate file for SMTP over TLS", "description": "CA certificate file for SMTP over TLS",
"display_name": "Postfix SMTP TLS CA File", "display_name": "Postfix SMTP TLS CA File"
"required": "optional",
"recipes": [
]
}, },
"postfix/smtp_sasl_passwd": { "postfix/mail_type": {
"default": "", "required": "optional",
"calculated": false, "calculated": false,
"type": "string",
"choice": [ "choice": [
], ],
"description": "Password for smtp_sasl_user_name",
"display_name": "Postfix SMTP SASL Password",
"required": "optional",
"recipes": [
]
},
"postfix/mail_type": {
"default": "client", "default": "client",
"calculated": false,
"type": "string", "type": "string",
"choice": [ "recipes": [
], ],
"description": "Is this node a client or server?", "description": "Is this node a client or server?",
"display_name": "Postfix Mail Type", "display_name": "Postfix Mail Type"
},
"postfix/smtp_sasl_passwd": {
"required": "optional", "required": "optional",
"calculated": false,
"choice": [
],
"default": "",
"type": "string",
"recipes": [ "recipes": [
] ],
"description": "Password for smtp_sasl_user_name",
"display_name": "Postfix SMTP SASL Password"
}, },
"postfix/smtp_use_tls": { "postfix/smtp_use_tls": {
"default": "yes", "required": "optional",
"calculated": false, "calculated": false,
"type": "string",
"choice": [ "choice": [
],
"default": "yes",
"type": "string",
"recipes": [
], ],
"description": "Whether SMTP SASL Auth should use TLS encryption", "description": "Whether SMTP SASL Auth should use TLS encryption",
"display_name": "Postfix SMTP Use TLS?", "display_name": "Postfix SMTP Use TLS?"
"required": "optional",
"recipes": [
]
}, },
"postfix/relayhost": { "postfix/relayhost": {
"default": "", "required": "optional",
"calculated": false, "calculated": false,
"type": "string",
"choice": [ "choice": [
],
"default": "",
"type": "string",
"recipes": [
], ],
"description": "Sets the relayhost value in main.cf", "description": "Sets the relayhost value in main.cf",
"display_name": "Postfix Relayhost", "display_name": "Postfix Relayhost"
"required": "optional",
"recipes": [
]
}, },
"postfix/smtp_sasl_auth_enable": { "postfix/smtp_sasl_auth_enable": {
"default": "no", "required": "optional",
"calculated": false, "calculated": false,
"type": "string",
"choice": [ "choice": [
],
"default": "no",
"type": "string",
"recipes": [
], ],
"description": "Enable SMTP SASL Authentication", "description": "Enable SMTP SASL Authentication",
"display_name": "Postfix SMTP SASL Auth Enable", "display_name": "Postfix SMTP SASL Auth Enable"
"required": "optional",
"recipes": [
]
}, },
"postfix/mydomain": { "postfix/mydomain": {
"default": "domain", "required": "optional",
"calculated": false, "calculated": false,
"type": "string",
"choice": [ "choice": [
],
"default": "domain",
"type": "string",
"recipes": [
], ],
"description": "Sets the mydomain value in main.cf", "description": "Sets the mydomain value in main.cf",
"display_name": "Postfix Mydomain", "display_name": "Postfix Mydomain"
"required": "optional",
"recipes": [
]
}, },
"postfix": { "postfix": {
"required": "optional",
"calculated": false, "calculated": false,
"type": "hash",
"choice": [ "choice": [
], ],
"description": "Hash of Postfix attributes", "type": "hash",
"display_name": "Postfix",
"required": "optional",
"recipes": [ "recipes": [
] ],
"description": "Hash of Postfix attributes",
"display_name": "Postfix"
} }
}, },
"maintainer": "Opscode, Inc.",
"suggestions": { "suggestions": {
}, },
"platforms": {
"ubuntu": [
],
"debian": [
]
},
"dependencies": { "dependencies": {
}, },
"maintainer_email": "cookbooks@opscode.com", "maintainer_email": "cookbooks@opscode.com",
"conflicting": { "conflicting": {
}, },
"version": "0.8.0", "platforms": {
"name": "postfix", "debian": [
"recipes": {
"postfix::sasl_auth": "Set up postfix to auth to a server with sasl" ],
}, "ubuntu": [
"providing": {
]
}, },
"license": "Apache 2.0", "license": "Apache 2.0",
"version": "0.8.1",
"providing": {
},
"recipes": {
"postfix::sasl_auth": "Set up postfix to auth to a server with sasl",
"postfix": "Installs and configures postfix"
},
"replacing": { "replacing": {
}, },
"name": "postfix",
"description": "Installs and configures postfix for client or outbound relayhost, or to do SASL auth",
"groupings": { "groupings": {
}, },
"long_description": "", "long_description": ""
"recommendations": {
},
"description": "Installs and configures postfix for client or outbound relayhost, or to do SASL auth"
} }

View File

@ -2,7 +2,8 @@ maintainer "Opscode, Inc."
maintainer_email "cookbooks@opscode.com" maintainer_email "cookbooks@opscode.com"
license "Apache 2.0" license "Apache 2.0"
description "Installs and configures postfix for client or outbound relayhost, or to do SASL auth" description "Installs and configures postfix for client or outbound relayhost, or to do SASL auth"
version "0.8" version "0.8.1"
recipe "postfix", "Installs and configures postfix"
recipe "postfix::sasl_auth", "Set up postfix to auth to a server with sasl" recipe "postfix::sasl_auth", "Set up postfix to auth to a server with sasl"
%w{ubuntu debian}.each do |os| %w{ubuntu debian}.each do |os|