summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorillustris <rharikrishnan95@gmail.com>2022-01-08 12:48:23 +0530
committerillustris <rharikrishnan95@gmail.com>2022-03-09 00:06:17 +0530
commit6efa931c518e8fdc725527e465bceb0b8fb60a4a (patch)
tree70b8e983181409f9dc5272006df924d6949310f2 /nixos
parente3a73aed432da016f57230ac977cf515525e6cc5 (diff)
downloadnixpkgs-6efa931c518e8fdc725527e465bceb0b8fb60a4a.tar
nixpkgs-6efa931c518e8fdc725527e465bceb0b8fb60a4a.tar.gz
nixpkgs-6efa931c518e8fdc725527e465bceb0b8fb60a4a.tar.bz2
nixpkgs-6efa931c518e8fdc725527e465bceb0b8fb60a4a.tar.lz
nixpkgs-6efa931c518e8fdc725527e465bceb0b8fb60a4a.tar.xz
nixpkgs-6efa931c518e8fdc725527e465bceb0b8fb60a4a.tar.zst
nixpkgs-6efa931c518e8fdc725527e465bceb0b8fb60a4a.zip
nixos/hadoop: fix mkenableoption text
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/cluster/hadoop/hdfs.nix10
-rw-r--r--nixos/modules/services/cluster/hadoop/yarn.nix4
2 files changed, 7 insertions, 7 deletions
diff --git a/nixos/modules/services/cluster/hadoop/hdfs.nix b/nixos/modules/services/cluster/hadoop/hdfs.nix
index be667aa82d8..8c373968364 100644
--- a/nixos/modules/services/cluster/hadoop/hdfs.nix
+++ b/nixos/modules/services/cluster/hadoop/hdfs.nix
@@ -17,7 +17,7 @@ in
 {
   options.services.hadoop.hdfs = {
     namenode = {
-      enable = mkEnableOption "Whether to run the HDFS NameNode";
+      enable = mkEnableOption "HDFS NameNode";
       formatOnInit = mkOption {
         type = types.bool;
         default = false;
@@ -37,7 +37,7 @@ in
       };
     };
     datanode = {
-      enable = mkEnableOption "Whether to run the HDFS DataNode";
+      enable = mkEnableOption "HDFS DataNode";
       inherit restartIfChanged;
       openFirewall = mkOption {
         type = types.bool;
@@ -48,7 +48,7 @@ in
       };
     };
     journalnode = {
-      enable = mkEnableOption "Whether to run the HDFS JournalNode";
+      enable = mkEnableOption "HDFS JournalNode";
       inherit restartIfChanged;
       openFirewall = mkOption {
         type = types.bool;
@@ -59,11 +59,11 @@ in
       };
     };
     zkfc = {
-      enable = mkEnableOption "Whether to run the HDFS ZooKeeper failover controller";
+      enable = mkEnableOption "HDFS ZooKeeper failover controller";
       inherit restartIfChanged;
     };
     httpfs = {
-      enable = mkEnableOption "Whether to run the HDFS HTTPfs server";
+      enable = mkEnableOption "HDFS HTTPfs server";
       tempPath = mkOption {
         type = types.path;
         default = "/tmp/hadoop/httpfs";
diff --git a/nixos/modules/services/cluster/hadoop/yarn.nix b/nixos/modules/services/cluster/hadoop/yarn.nix
index 37c26ea10f7..cc42d8f388a 100644
--- a/nixos/modules/services/cluster/hadoop/yarn.nix
+++ b/nixos/modules/services/cluster/hadoop/yarn.nix
@@ -17,7 +17,7 @@ in
 {
   options.services.hadoop.yarn = {
     resourcemanager = {
-      enable = mkEnableOption "Whether to run the Hadoop YARN ResourceManager";
+      enable = mkEnableOption "Hadoop YARN ResourceManager";
       inherit restartIfChanged;
       openFirewall = mkOption {
         type = types.bool;
@@ -28,7 +28,7 @@ in
       };
     };
     nodemanager = {
-      enable = mkEnableOption "Whether to run the Hadoop YARN NodeManager";
+      enable = mkEnableOption "Hadoop YARN NodeManager";
       inherit restartIfChanged;
       addBinBash = mkOption {
         type = types.bool;