diff --git a/cookbooks/promtail/attributes.rb b/cookbooks/promtail/attributes.rb new file mode 100644 index 0000000..473421a --- /dev/null +++ b/cookbooks/promtail/attributes.rb @@ -0,0 +1,14 @@ +# ------------------------------------------- +# Specifying the default settings: +# ------------------------------------------- +node.reverse_merge!({ + 'promtail' => { + 'url' => 'https://github.com/grafana/loki/releases/download/', + 'bin' => 'promtail-linux-amd64.zip', + 'storage' => '/opt/promtail/bin/', + 'location' => '/usr/local/bin/', + 'data' => '/var/opt/promtail/', + 'lokiendpoint' => '192.168.10.118:3100' + }, +}) +