Commit f401bd38 authored by jtimberman's avatar jtimberman
Browse files

escape characters in cron entry, quiet gzip output. update chef metadata

parent 397034d8
......@@ -44,5 +44,5 @@ end
cron "rsyslog_gz" do
minute "0"
hour "4"
command "find #{node[:rsyslog][:log_dir]}/`date +%Y` -type f -mtime +1 -exec gzip {} \;"
command "find #{node[:rsyslog][:log_dir]}/$(date +\\%Y) -type f -mtime +1 -exec gzip -q {} \\;"
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