Commit 56813319 authored by Adam DePue's avatar Adam DePue Committed by jtimberman
Browse files

Add attribute for max message size

parent e4403f3d
......@@ -55,9 +55,9 @@ See `attributes/default.rb` for default values.
* `node['rsyslog']['user']` - Specify the user to run and write files as.
* `node['rsyslog']['group']` - Specify the group to run and write files as.
* `node['rsyslog']['priv_seperation']` - Whether to use privilege seperation or
not.
not.
* `node['rsyslog']['max_message_size']` - Specify the maximum allowed
message size. Default is 2k.
Recipes
=======
......
......@@ -48,3 +48,5 @@ else
default["rsyslog"]["group"] = "root"
default["rsyslog"]["priv_seperation"] = false
end
default["rsyslog"]["max_message_size"] = "2k"
......@@ -3,6 +3,10 @@
# For more information see
# /usr/share/doc/rsyslog-doc/html/rsyslog_conf.html
#
# Set max message size
#
$MaxMessageSize <%= node['rsyslog']['max_message_size'] %>
#################
#### MODULES ####
......
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