git.iko.soy/typeable/nixpkgs
on master help sign in
nixos/collectd: Fix syntax error on some hostnames. (#20694)

Without this, hostnames that e.g. end in digits will cause syntax errors for collectd.

commit27f1def068cff885c1f2570ec9e5fc1a9796d796 authorCorbin Simpson <MostAwesomeDude@gmail.com> dateThu 24 Nov 2016, 12:47 (10 years ago) parent39a0d76
1 file changed+1−1
nixos/modules/services/monitoring/collectd.nix+1−1
nixos/modules/services/monitoring/collectd.nix+1−1
@@ -9,7 +9,7 @@ let
99 BaseDir "${cfg.dataDir}"
1010 PIDFile "${cfg.pidFile}"
1111 AutoLoadPlugin ${if cfg.autoLoadPlugin then "true" else "false"}
12− Hostname ${config.networking.hostName}
12+ Hostname "${config.networking.hostName}"
1313
1414 LoadPlugin syslog
1515 <Plugin "syslog">