Xinyu Zhao 1f13960afb Add rsyslog cookbook and sync openstack logs
Modified the client recipe to sync openstack related
logs if a test indicator is enabled.

Change-Id: Ia41c28ccecb4ef298221494e6444d4909d917c56
2014-04-11 21:24:19 +00:00

40 lines
1.2 KiB
Ruby

maintainer "Opscode, Inc."
maintainer_email "cookbooks@opscode.com"
license "Apache 2.0"
description "Installs and configures rsyslog"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version "1.0.0"
recipe "rsyslog", "Installs rsyslog"
recipe "rsyslog::client", "Sets up a client to log to a remote rsyslog server"
recipe "rsyslog::server", "Sets up an rsyslog server"
supports "ubuntu", ">= 8.04"
supports "debian", ">= 5.0"
attribute "rsyslog",
:display_name => "Rsyslog",
:description => "Hash of Rsyslog attributes",
:type => "hash"
attribute "rsyslog/log_dir",
:display_name => "Rsyslog Log Directory",
:description => "Filesystem location of logs from clients",
:default => "/srv/rsyslog"
attribute "rsyslog/server",
:display_name => "Rsyslog Server?",
:description => "Is this node an rsyslog server?",
:default => "false"
attribute "rsyslog/protocol",
:display_name => "Rsyslog Protocol",
:description => "Set which network protocol to use for rsyslog",
:default => "tcp"
attribute "rsyslog/port",
:display_name => "Rsyslog Port",
:description => "Port that Rsyslog listens for incoming connections",
:default => "514"