Modify the service name to be restarted.

This commit is contained in:
Kazuhiro MUSASHI 2020-10-25 15:43:50 +09:00
parent 1dbb842a0a
commit 5aa3589d56
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ template '/etc/promtail/snmp_exporter.yaml' do
variables(HOSTNAME: node[:hostname], LOKIENDPOINT: node['promtail']['lokiendpoint'])
notifies :restart, 'service[promtail-prometheus]'
notifies :restart, 'service[promtail-snmp_exporter]'
end
# Deploy the `systemd` configuration: