Commit f46c19ec authored by jtimberman's avatar jtimberman
Browse files

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.
parent 55cacbc6
{
"maintainer": "Opscode, Inc.",
"description": "Installs and configures rsyslog",
"recommendations": {
},
"maintainer_email": "cookbooks@opscode.com",
"suggestions": {
},
"platforms": {
},
"version": "0.7.0",
"recipes": {
"rsyslog::server": "Sets up an rsyslog server",
"rsyslog": "",
"rsyslog::client": "Sets up a client to log to a remote rsyslog server"
},
"name": "rsyslog",
"conflicting": {
},
"attributes": {
"rsyslog\/protocol": {
"default": "tcp",
"type": "string",
"multiple_values": false,
"description": "Set which network protocol to use for rsyslog",
"display_name": "Rsyslog Protocol",
"recipes": [
],
"required": false
},
"rsyslog": {
"type": "hash",
"multiple_values": false,
"description": "Hash of Rsyslog attributes",
"display_name": "Rsyslog",
"recipes": [
],
"required": false
},
"rsyslog\/log_dir": {
"default": "\/srv\/rsyslog",
"type": "string",
"multiple_values": false,
"description": "Filesystem location of logs from clients",
"display_name": "Rsyslog Log Directory",
"recipes": [
],
"required": false
},
"rsyslog\/server": {
"default": "false",
"type": "string",
"multiple_values": false,
"description": "Is this node an rsyslog server?",
"display_name": "Rsyslog Server?",
"recipes": [
],
"required": false
}
},
"providing": {
"rsyslog::server": [
],
"rsyslog": [
],
"rsyslog::client": [
]
},
"license": "Apache 2.0",
"long_description": "= DESCRIPTION:\n\nInstalls rsyslog to replace sysklogd for client and\/or server use. By default, server will be set up to log to files.\n\n= REQUIREMENTS:\n\n== Platform:\n\nTested on Ubuntu 8.10.\n\n== Cookbooks:\n\n= ATTRIBUTES: \n\n* rsyslog[:log_dir] - specify the directory to store logs (applicable to server only)\n* rsyslog[:server] - specify the remote rsyslog server.\n* rsyslog[:protocol] - specify whether to use udp or tcp for remote log transmission. tcp is default.\n\n= USAGE:\n\nTo replace the sysklogd syslog service with rsyslog:\n\n include_recipe \"rsyslog\"\n \nTo set up a client with a remote [r]syslog server:\n\n include_recipe \"rsyslog::client\"\n \nBy default, this cookbook will use TCP so the server should be configured for TCP. This can be done easily with the server recipe:\n\n include_recipe \"rsyslog::server\"\n\nTo switch to UDP, change the rsyslog[:protocol] attribute. Note this needs to be done on each client as well.\n\nAlso, the server configuration will set up log_dir for each client, by date. Structure:\n\n <%= @log_dir %>\/YEAR\/MONTH\/DAY\/HOSTNAME\/\"logfile\"\n\n= LICENSE and AUTHOR:\n \nAuthor:: Joshua Timberman (<joshua@opscode.com>)\n\nCopyright:: 2009, Opscode, Inc\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n",
"replacing": {
},
"dependencies": {
}
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment