Skip to content

Commit

Permalink
Add config to create the file with the template
Browse files Browse the repository at this point in the history
  • Loading branch information
jsotofernandez committed Oct 25, 2024
1 parent 84462e7 commit 01ff98d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions resources/recipes/prepare_system.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 01ff98d

Please sign in to comment.