diff options
author | figsoda <figsoda@pm.me> | 2022-11-30 17:32:53 -0500 |
---|---|---|
committer | figsoda <figsoda@pm.me> | 2022-11-30 17:32:53 -0500 |
commit | 025142b808b4511f1ef31a2b553b733b8444ddb7 (patch) | |
tree | 47146a91bbbd8b611c1a97607bcedc0f71573b60 | |
parent | 1b9b057d9248539e20c25609edc690d457d42b4e (diff) | |
download | nixpkgs-025142b808b4511f1ef31a2b553b733b8444ddb7.tar nixpkgs-025142b808b4511f1ef31a2b553b733b8444ddb7.tar.gz nixpkgs-025142b808b4511f1ef31a2b553b733b8444ddb7.tar.bz2 nixpkgs-025142b808b4511f1ef31a2b553b733b8444ddb7.tar.lz nixpkgs-025142b808b4511f1ef31a2b553b733b8444ddb7.tar.xz nixpkgs-025142b808b4511f1ef31a2b553b733b8444ddb7.tar.zst nixpkgs-025142b808b4511f1ef31a2b553b733b8444ddb7.zip |
nixos/hbase: remove unnecessary parenthesis
-rw-r--r-- | nixos/modules/services/cluster/hadoop/hbase.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nixos/modules/services/cluster/hadoop/hbase.nix b/nixos/modules/services/cluster/hadoop/hbase.nix index 237a1d428fe..97951ebfe33 100644 --- a/nixos/modules/services/cluster/hadoop/hbase.nix +++ b/nixos/modules/services/cluster/hadoop/hbase.nix @@ -141,9 +141,9 @@ in services.hadoop.hbaseSiteInternal."hbase.rootdir" = cfg.hbase.rootdir; - networking.firewall.allowedTCPPorts = (mkIf cfg.hbase.master.openFirewall [ + networking.firewall.allowedTCPPorts = mkIf cfg.hbase.master.openFirewall [ 16000 16010 - ]); + ]; }) @@ -168,9 +168,9 @@ in services.hadoop.hbaseSiteInternal."hbase.rootdir" = cfg.hbase.rootdir; networking = { - firewall.allowedTCPPorts = (mkIf cfg.hbase.regionServer.openFirewall [ + firewall.allowedTCPPorts = mkIf cfg.hbase.regionServer.openFirewall [ 16020 16030 - ]); + ]; hosts = mkIf cfg.hbase.regionServer.overrideHosts { "127.0.0.2" = mkForce [ ]; "::1" = mkForce [ ]; |