diff --git a/resources/recipes/prepare_system.rb b/resources/recipes/prepare_system.rb index 5850181..4daf05d 100644 --- a/resources/recipes/prepare_system.rb +++ b/resources/recipes/prepare_system.rb @@ -34,6 +34,14 @@ ) end +template "/etc/logrotate.d/logstash" do + source "logstash_log-rotate.erb" + owner "root" + group "root" + mode 0644 + retries 2 +end + service 'chef-client' do if node['redborder']['services']['chef-client'] action [:enable, :start]