aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGábor Boskovits <boskovits@gmail.com>2019-05-13 14:53:51 +0200
committerGábor Boskovits <boskovits@gmail.com>2019-05-13 15:28:37 +0200
commit4074ee4ef793228e7ad288aa5d127e60bec8ffee (patch)
tree8ca38c0423de8610cf4b950144580b2f387901a2
parent993d8164e413734e29dd80bb618eea8dacef74d7 (diff)
downloadguix-4074ee4ef793228e7ad288aa5d127e60bec8ffee.tar
guix-4074ee4ef793228e7ad288aa5d127e60bec8ffee.tar.gz
services: prometheus-node-exporter add default.
* gnu/services/monitoring.scm (prometheus-node-exporter-service-type): Add default-value with default configuration.
-rw-r--r--gnu/services/monitoring.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/services/monitoring.scm b/gnu/services/monitoring.scm
index e1b1d9b236..4077c8b983 100644
--- a/gnu/services/monitoring.scm
+++ b/gnu/services/monitoring.scm
@@ -141,7 +141,8 @@ prometheus.")
(extensions
(list (service-extension
shepherd-root-service-type
- (compose list prometheus-node-exporter-shepherd-service))))))
+ (compose list prometheus-node-exporter-shepherd-service))))
+ (default-value (prometheus-node-exporter-configuration))))
;;;