Delete `Promtail` dependency.

This commit is contained in:
Kazuhiro MUSASHI 2024-04-03 15:53:50 +09:00
parent 0e8f4b35fb
commit e14a0072c1
1 changed files with 0 additions and 22 deletions

View File

@ -54,28 +54,6 @@ service 'cosul' do
action :nothing
end
template '/etc/promtail/syslog.yaml' do
owner 'root'
group 'root'
mode '644'
variables(LOKIENDPOINT: node['promtail']['lokiendpoint'])
notifies :restart, 'service[promtail-vector-syslog]'
end
# Deploy `systemd` configuration for `promtail-loki`:
remote_file '/etc/systemd/system/promtail-vector-syslog.service' do
owner 'root'
group 'root'
mode '644'
end
# Service setting:
service 'promtail-vector-syslog' do
action [ :enable, :restart ]
end
# Deploy the `logrotated` configuration:
remote_file '/etc/logrotate.d/vector-syslog' do
owner 'root'