diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-10-30 11:02:04 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-10-30 14:57:42 +0100 |
commit | 862e3dd977cdd853c3ab3202ab1b73561f8a3ea1 (patch) | |
tree | 43e95414e328ac92383bccf41219c30fa9729473 /nixos/modules/services/monitoring | |
parent | 162b874469935923dec02cc9a6b5f58b1c8267a8 (diff) | |
download | nixlib-862e3dd977cdd853c3ab3202ab1b73561f8a3ea1.tar nixlib-862e3dd977cdd853c3ab3202ab1b73561f8a3ea1.tar.gz nixlib-862e3dd977cdd853c3ab3202ab1b73561f8a3ea1.tar.bz2 nixlib-862e3dd977cdd853c3ab3202ab1b73561f8a3ea1.tar.lz nixlib-862e3dd977cdd853c3ab3202ab1b73561f8a3ea1.tar.xz nixlib-862e3dd977cdd853c3ab3202ab1b73561f8a3ea1.tar.zst nixlib-862e3dd977cdd853c3ab3202ab1b73561f8a3ea1.zip |
Substitute "types.uniq types.string" -> "types.str"
Diffstat (limited to 'nixos/modules/services/monitoring')
-rw-r--r-- | nixos/modules/services/monitoring/dd-agent.nix | 2 | ||||
-rw-r--r-- | nixos/modules/services/monitoring/graphite.nix | 6 | ||||
-rw-r--r-- | nixos/modules/services/monitoring/statsd.nix | 8 | ||||
-rw-r--r-- | nixos/modules/services/monitoring/ups.nix | 8 |
4 files changed, 12 insertions, 12 deletions
diff --git a/nixos/modules/services/monitoring/dd-agent.nix b/nixos/modules/services/monitoring/dd-agent.nix index ef658523c1f3..f99114ac9ad7 100644 --- a/nixos/modules/services/monitoring/dd-agent.nix +++ b/nixos/modules/services/monitoring/dd-agent.nix @@ -26,7 +26,7 @@ in { example = "ae0aa6a8f08efa988ba0a17578f009ab"; - type = types.uniq types.string; + type = types.str; }; hostname = mkOption { diff --git a/nixos/modules/services/monitoring/graphite.nix b/nixos/modules/services/monitoring/graphite.nix index 936733514382..08e6ef662cc3 100644 --- a/nixos/modules/services/monitoring/graphite.nix +++ b/nixos/modules/services/monitoring/graphite.nix @@ -32,13 +32,13 @@ in { host = mkOption { description = "Graphite web frontend listen address"; default = "127.0.0.1"; - type = types.uniq types.string; + type = types.str; }; port = mkOption { description = "Graphite web frontend port"; default = "8080"; - type = types.uniq types.string; + type = types.str; }; }; @@ -56,7 +56,7 @@ in { LOG_UPDATES = False LOG_CACHE_HITS = False ''; - type = types.uniq types.string; + type = types.str; }; enableCache = mkOption { diff --git a/nixos/modules/services/monitoring/statsd.nix b/nixos/modules/services/monitoring/statsd.nix index 120c8860d571..979debefdd9f 100644 --- a/nixos/modules/services/monitoring/statsd.nix +++ b/nixos/modules/services/monitoring/statsd.nix @@ -36,7 +36,7 @@ in host = mkOption { description = "Address that statsd listens on over UDP"; default = "127.0.0.1"; - type = types.uniq types.string; + type = types.str; }; port = mkOption { @@ -48,7 +48,7 @@ in mgmt_address = mkOption { description = "Address to run managment TCP interface on"; default = "127.0.0.1"; - type = types.uniq types.string; + type = types.str; }; mgmt_port = mkOption { @@ -65,7 +65,7 @@ in graphiteHost = mkOption { description = "Hostname or IP of Graphite server"; default = "127.0.0.1"; - type = types.uniq types.string; + type = types.str; }; graphitePort = mkOption { @@ -77,7 +77,7 @@ in extraConfig = mkOption { default = ""; description = "Extra configuration options for statsd"; - type = types.uniq types.string; + type = types.str; }; }; diff --git a/nixos/modules/services/monitoring/ups.nix b/nixos/modules/services/monitoring/ups.nix index a7b72e53f0a4..c00f4bad9351 100644 --- a/nixos/modules/services/monitoring/ups.nix +++ b/nixos/modules/services/monitoring/ups.nix @@ -15,7 +15,7 @@ let # This can be infered from the UPS model by looking at # /nix/store/nut/share/driver.list driver = mkOption { - type = types.uniq types.string; + type = types.str; description = '' Specify the program to run to talk to this UPS. apcsmart, bestups, and sec are some examples. @@ -23,7 +23,7 @@ let }; port = mkOption { - type = types.uniq types.string; + type = types.str; description = '' The serial port to which your UPS is connected. /dev/ttyS0 is usually the first port on Linux boxes, for example. @@ -115,7 +115,7 @@ in # This option is not used yet. mode = mkOption { default = "standalone"; - type = types.uniq types.string; + type = types.str; description = '' The MODE determines which part of the NUT is to be started, and which configuration files must be modified. @@ -142,7 +142,7 @@ in schedulerRules = mkOption { example = "/etc/nixos/upssched.conf"; - type = types.uniq types.string; + type = types.str; description = '' File which contains the rules to handle UPS events. ''; |