Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

96 lines (87 sloc) 4.141 kb
{
"name": "rsyslog",
"description": "Installs and configures rsyslog",
"long_description": "DESCRIPTION\n===========\n\nInstalls rsyslog to replace sysklogd for client and/or server use. By default, server will be set up to log to files.\n\nREQUIREMENTS\n============\n\nPlatform\n--------\n\nTested on Ubuntu 8.04, 9.10, 10.04.\n\nFor Ubuntu 8.04, the rsyslog package will be installed from a PPA via the default.rb recipe in order to get 4.2.0 backported from 10.04.\n\n* https://launchpad.net/~a.bono/+archive/rsyslog\n\nUbuntu 8.10 and 9.04 are no longer supported releases and have not been tested with this cookbook.\n\nCookbooks\n---------\n\n* cron (http://cookbooks.opscode.com/cookbooks/cron)\n\nATTRIBUTES\n==========\n\n* `rsyslog[:log_dir]` - specify the directory to store logs (applicable to server only), default /srv/rsyslog\n* `rsyslog[:server]` - specify the remote rsyslog server. default false (no remote server)\n* `rsyslog[:protocol]` - specify whether to use udp or tcp for remote log transmission. tcp is default.\n\nUSAGE\n=====\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\nLICENSE AND AUTHOR\n==================\n\nAuthor:: Joshua Timberman (<joshua@opscode.com>)\n\nCopyright:: 2009-2011, 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",
"maintainer": "Opscode, Inc.",
"maintainer_email": "cookbooks@opscode.com",
"license": "Apache 2.0",
"platforms": {
"ubuntu": [
">= 8.04"
],
"debian": [
">= 5.0"
]
},
"dependencies": {
"cron": [
]
},
"recommendations": {
},
"suggestions": {
},
"conflicting": {
},
"providing": {
},
"replacing": {
},
"attributes": {
"rsyslog": {
"display_name": "Rsyslog",
"description": "Hash of Rsyslog attributes",
"type": "hash",
"choice": [
],
"calculated": false,
"required": "optional",
"recipes": [
]
},
"rsyslog/log_dir": {
"display_name": "Rsyslog Log Directory",
"description": "Filesystem location of logs from clients",
"default": "/srv/rsyslog",
"choice": [
],
"calculated": false,
"type": "string",
"required": "optional",
"recipes": [
]
},
"rsyslog/server": {
"display_name": "Rsyslog Server?",
"description": "Is this node an rsyslog server?",
"default": "false",
"choice": [
],
"calculated": false,
"type": "string",
"required": "optional",
"recipes": [
]
},
"rsyslog/protocol": {
"display_name": "Rsyslog Protocol",
"description": "Set which network protocol to use for rsyslog",
"default": "tcp",
"choice": [
],
"calculated": false,
"type": "string",
"required": "optional",
"recipes": [
]
}
},
"groupings": {
},
"recipes": {
"rsyslog": "Installs rsyslog",
"rsyslog::client": "Sets up a client to log to a remote rsyslog server",
"rsyslog::server": "Sets up an rsyslog server"
},
"version": "0.99.2"
}
Jump to Line
Something went wrong with that request. Please try again.