feat(osfamilymap.yaml): add Gentoo support
Signed-off-by: Mark Gomersbach <markgomersbach@gmail.com>
This commit is contained in:
parent
a51e532992
commit
b87e8f437c
@ -109,7 +109,7 @@ prometheus-config-args-{{ name }}-file-managed:
|
||||
file.managed:
|
||||
- name: {{ args_file }}
|
||||
- contents: |
|
||||
ARGS="{{ concat_args(args) }}"
|
||||
{{ prometheus.dir.args_setting }}="{{ concat_args(args) }}"
|
||||
- watch_in:
|
||||
- service: prometheus-service-running-{{ name }}-service-running
|
||||
{%- if prometheus.dir.args %}
|
||||
|
@ -20,6 +20,7 @@ prometheus:
|
||||
etc: /etc/prometheus
|
||||
var: /var/lib/prometheus
|
||||
args: /etc/default
|
||||
args_setting: ARGS
|
||||
service: /usr/lib/systemd/system
|
||||
textfile_collectors: /opt/prometheus/textfile_collectors
|
||||
|
||||
|
@ -35,7 +35,33 @@ RedHat:
|
||||
|
||||
Suse: {}
|
||||
|
||||
Gentoo: {}
|
||||
Gentoo:
|
||||
dir:
|
||||
args: false
|
||||
args_setting: command_args
|
||||
textfile_collectors: /var/lib/node_exporter/
|
||||
pkg:
|
||||
prometheus:
|
||||
name: app-metrics/prometheus
|
||||
args_file: /etc/conf.d/prometheus
|
||||
node_exporter:
|
||||
name: app-metrics/node_exporter
|
||||
args_file: /etc/conf.d/node_exporter
|
||||
alertmanager:
|
||||
name: app-metrics/alertmanager
|
||||
args_file: /etc/conf.d/alertmanager
|
||||
service:
|
||||
node_exporter:
|
||||
args:
|
||||
collector.textfile.directory: /var/lib/node_exporter
|
||||
alertmanager:
|
||||
args:
|
||||
config.file: /etc/prometheus/alertmanager.yml
|
||||
storage.path: /var/lib/alertmanager
|
||||
prometheus:
|
||||
args:
|
||||
config.file: /etc/prometheus/prometheus.yml
|
||||
storage.tsdb.path: /var/lib/prometheus/data
|
||||
|
||||
Arch: {}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user