metadata.rb 1.76 KB
Newer Older
jtimberman's avatar
jtimberman committed
1
name              "rsyslog"
2
3
4
maintainer        "Opscode, Inc."
maintainer_email  "cookbooks@opscode.com"
license           "Apache 2.0"
5
description       "Installs and configures rsyslog"
jtimberman's avatar
jtimberman committed
6
long_description  IO.read(File.join(File.dirname(__FILE__), 'README.md'))
jtimberman's avatar
jtimberman committed
7
version           "1.2.0"
8
9

recipe            "rsyslog", "Installs rsyslog"
10
11
12
recipe            "rsyslog::client", "Sets up a client to log to a remote rsyslog server"
recipe            "rsyslog::server", "Sets up an rsyslog server"

jtimberman's avatar
jtimberman committed
13
supports          "ubuntu", ">= 8.04"
14
15
supports          "debian", ">= 5.0"

16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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"

31
32
33
34
35
36
37
38
39
attribute "rsyslog/server_ip",
  :display_name => "Rsyslog Server IP Address",
  :description => "Set rsyslog server ip address explicitly"

attribute "rsyslog/server_search",
  :display_name => "Rsyslog Server Search Criteria",
  :description => "Set the search criteria for rsyslog server resolving",
  :default => "role:loghost"

40
41
42
43
44
attribute "rsyslog/protocol",
  :display_name => "Rsyslog Protocol",
  :description => "Set which network protocol to use for rsyslog",
  :default => "tcp"

45
46
47
48
attribute "rsyslog/port",
  :display_name => "Rsyslog Port",
  :description => "Port that Rsyslog listens for incoming connections",
  :default => "514"
49
50
51
52
53

attribute "rsyslog/remote_logs",
  :display_name => "Remote Logs",
  :description => "Specifies whether redirect all log from client to server",
  :default => "true"