gerrit-monitoring/subcommands
Thomas Draebing 0bdb1d02e0 Create promtail config per Gerrit host
So far the install-script could only create a single promtail config.
Since the monitoring setup is able to monitor multiple Gerrit servers,
this caused manual work to create a promtail config per Gerrit server.

Now ytt will create a configuration for each Gerrit host configured
in the config.yaml. Ytt is only able to do that in a single file. Thus,
csplit is used to split the files into separate files that can then
be used to configure promtail on the respective hosts. The config-
files can then be found under
$OUTPUT/promtail/promtail-$GERRIT_HOSTNAME.yaml.

Change-Id: Ib09fba83d8a8fbd45b42e9e5388a85a37ab1a952
2020-04-16 14:25:53 +02:00
..
__init__.py Rewrite the scripts in python 2020-04-16 14:25:50 +02:00
_globals.py Rewrite the scripts in python 2020-04-16 14:25:50 +02:00
encrypt.py Rewrite the scripts in python 2020-04-16 14:25:50 +02:00
install.py Create promtail config per Gerrit host 2020-04-16 14:25:53 +02:00
uninstall.py Rewrite the scripts in python 2020-04-16 14:25:50 +02:00