Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
mirror
rsyslog
Commits
56813319
Commit
56813319
authored
Sep 10, 2012
by
Adam DePue
Committed by
jtimberman
Nov 07, 2012
Browse files
Add attribute for max message size
parent
e4403f3d
Changes
3
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
56813319
...
...
@@ -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
=======
...
...
attributes/default.rb
View file @
56813319
...
...
@@ -48,3 +48,5 @@ else
default
[
"rsyslog"
][
"group"
]
=
"root"
default
[
"rsyslog"
][
"priv_seperation"
]
=
false
end
default
[
"rsyslog"
][
"max_message_size"
]
=
"2k"
templates/default/rsyslog.conf.erb
View file @
56813319
...
...
@@ -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 ####
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment