Follow the pattern of other exporters and create the configuration file
in `/etc/blackbox_exporter` by default.
Signed-off-by: SuperQ <superq@gmail.com>
Update the blackbox_exporter and snmp_exporter installs to be consistent
with other exporter package installs.
Signed-off-by: SuperQ <superq@gmail.com>
* feature: Make config installation dir configurable
Signed-off-by: Thomas Venieris <thomas.venieris@gmail.com>
* fix: blackbox_exporter_config_dir consistent
- Made blackbox_exporter_config_dir parameter consistent with other
collection roles
- Added new parameter to meta/argument_specs.yml
Signed-off-by: Thomas Venieris <thomas.venieris@gmail.com>
---------
Signed-off-by: Thomas Venieris <thomas.venieris@gmail.com>
Also, binary and configuration owner is changed to root.
User blackbox-exp should be prevented from modifying or deleting either
the configuration or itself, according to the principle of least
privilege.
Signed-off-by: Thomas Venieris <thomas.venieris@gmail.com>
This is similar to prometheus_skip_install variable and does what the
name says: when set, it won't try to re-download blackbox_exporter
binary
Also, fix a small typo in the preflight task.
Signed-off-by: Christian Brabandt <cb@256bit.org>
Move role repo discovery to a script to avoid shell escaping issues.
* Fix up argument_specs.yml.
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Add a script and workflow to automatically check for upstream releases
and create PRs to update the associated role.
Signed-off-by: SuperQ <superq@gmail.com>