3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules/services/monitoring
Maximilian Bosch 22b61e5263
nixos/prometheus/exporters: fix eval if only openFirewall = true; is set
If `openFirewall = true`, but no `firewallFilter` is set, the evaluation
fails with the following error:

    The option `services.prometheus.exporters.node.firewallFilter` is defined both null and
    not null, in `/home/ma27/Projects/nixpkgs/nixos/modules/services/monitoring/prometheus/exporters.nix'
    and `/home/ma27/Projects/nixpkgs/nixos/modules/services/monitoring/prometheus/exporters.nix'.

Originally introduced by me in #115185. The problem is that
`mkOptionDefault` has - as its name suggests - the same priority as the
default-value of the option `firewallFilter` and thus it conflicts if
this declaration and the actual default value are set which is the case
if `firewallFilter` isn't specified somewhere else.
2021-03-13 15:21:55 +01:00
..
dd-agent
prometheus nixos/prometheus/exporters: fix eval if only openFirewall = true; is set 2021-03-13 15:21:55 +01:00
alerta.nix alerta: move to all-packages.nix and use buildPythonApplication 2021-02-28 12:25:52 +01:00
apcupsd.nix treewide: fix double quoted strings in meta.description 2021-01-24 19:56:59 +07:00
arbtt.nix
bosun.nix
cadvisor.nix
collectd.nix
das_watchdog.nix
datadog-agent.nix
do-agent.nix
fusion-inventory.nix
grafana-image-renderer.nix nixos/grafana-image-renderer: typo fix 2021-01-18 18:44:58 +01:00
grafana-reporter.nix
grafana.nix nixos/grafana: create directory for notifiers provisioning 2021-03-03 20:11:25 +01:00
graphite.nix treewide: fix double quoted strings in meta.description 2021-01-24 19:56:59 +07:00
hdaps.nix
heapster.nix
incron.nix treewide: fix double quoted strings in meta.description 2021-01-24 19:56:59 +07:00
kapacitor.nix
loki.nix nixos/loki: mergeable configuration 2020-11-10 10:49:25 +01:00
longview.nix
mackerel-agent.nix nixos/mackerel-agent: init 2020-11-07 13:37:33 +09:00
monit.nix
munin.nix
nagios.nix
netdata.nix nixos: use functionTo to prevent evaluation errors while merging 2021-01-24 17:18:37 +01:00
riemann-dash.nix
riemann-tools.nix
riemann.nix
scollector.nix
smartd.nix utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
statsd.nix
sysstat.nix
teamviewer.nix
telegraf.nix treewide: fix double quoted strings in meta.description 2021-01-24 19:56:59 +07:00
thanos.nix treewide: fix double quoted strings in meta.description 2021-01-24 19:56:59 +07:00
tuptime.nix
unifi-poller.nix
ups.nix treewide: fix double quoted strings in meta.description 2021-01-24 19:56:59 +07:00
uptime.nix
vnstat.nix
zabbix-agent.nix
zabbix-proxy.nix
zabbix-server.nix