diff --git a/cookbooks/vector/syslog_setup.rb b/cookbooks/vector/syslog_setup.rb index 58c3185..e1d4d24 100644 --- a/cookbooks/vector/syslog_setup.rb +++ b/cookbooks/vector/syslog_setup.rb @@ -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'