{ "description": "Installs and configures rsyslog", "replacing": { }, "recipes": { "rsyslog::server": "Sets up an rsyslog server", "rsyslog": "", "rsyslog::client": "Sets up a client to log to a remote rsyslog server" }, "platforms": { }, "maintainer": "Opscode, Inc.", "version": "0.7.0", "recommendations": { }, "name": "rsyslog", "maintainer_email": "cookbooks@opscode.com", "attributes": { "rsyslog\/protocol": { "default": "tcp", "type": "string", "multiple_values": false, "description": "Set which network protocol to use for rsyslog", "display_name": "Rsyslog Protocol", "required": false, "recipes": [ ] }, "rsyslog": { "type": "hash", "multiple_values": false, "description": "Hash of Rsyslog attributes", "display_name": "Rsyslog", "required": false, "recipes": [ ] }, "rsyslog\/log_dir": { "default": "\/srv\/rsyslog", "type": "string", "multiple_values": false, "description": "Filesystem location of logs from clients", "display_name": "Rsyslog Log Directory", "required": false, "recipes": [ ] }, "rsyslog\/server": { "default": "false", "type": "string", "multiple_values": false, "description": "Is this node an rsyslog server?", "display_name": "Rsyslog Server?", "required": false, "recipes": [ ] } }, "suggestions": { }, "license": "Apache 2.0", "conflicting": { }, "dependencies": { }, "providing": { "rsyslog::server": [ ], "rsyslog": [ ], "rsyslog::client": [ ] }, "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 ()\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" }