Deploy `logrotate` config for `digdag`.

This commit is contained in:
Kazuhiro MUSASHI 2023-02-05 11:04:33 +09:00
parent 4aaecfdcfd
commit b3d014658a
1 changed files with 8 additions and 0 deletions

View File

@ -56,6 +56,14 @@ remote_file '/etc/rsyslog.d/30-digdag.conf' do
notifies :restart, 'service[rsyslog]', :immediately notifies :restart, 'service[rsyslog]', :immediately
end end
# Deploy `logrotate` config for `digdag`:
remote_file '/etc/logrotate.d/digdag' do
owner 'root'
group 'root'
mode '644'
end
# Deploy the config file for `vector`: # Deploy the config file for `vector`:
remote_file '/etc/vector/digdag.toml' do remote_file '/etc/vector/digdag.toml' do
owner 'root' owner 'root'