Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
mirror
rsyslog
Commits
e5856937
Commit
e5856937
authored
Feb 17, 2011
by
jtimberman
Browse files
fix find command backslash
parent
5961f7f7
Changes
3
Hide whitespace changes
Inline
Side-by-side
metadata.json
View file @
e5856937
...
...
@@ -92,5 +92,5 @@
"rsyslog::client"
:
"Sets up a client to log to a remote rsyslog server"
,
"rsyslog::server"
:
"Sets up an rsyslog server"
},
"version"
:
"0.99.0"
}
\ No newline at end of file
"version"
:
"0.99.1"
}
metadata.rb
View file @
e5856937
...
...
@@ -3,7 +3,7 @@ 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
"0.99.
0
"
version
"0.99.
1
"
recipe
"rsyslog"
,
"Installs rsyslog"
recipe
"rsyslog::client"
,
"Sets up a client to log to a remote rsyslog server"
...
...
recipes/server.rb
View file @
e5856937
...
...
@@ -53,7 +53,7 @@ file "/etc/rsyslog.d/remote.conf" do
end
cron
"rsyslog_gz"
do
command
"find
#{
node
[
:rsyslog
][
:log_dir
]
}
/$(date +
\%
Y) -type f -mtime +1 -exec gzip -q {}
\;
"
command
"find
#{
node
[
:rsyslog
][
:log_dir
]
}
/$(date +
\%
Y) -type f -mtime +1 -exec gzip -q {}
\
\
;"
minute
"0"
hour
"4"
end
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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