Browse Source

Use gluster from master and enable debug

gluster
m1cr0man 2 years ago
parent
commit
f70b6b3e97
1 changed files with 15 additions and 0 deletions
  1. +15
    -0
      services/gluster.nix

+ 15
- 0
services/gluster.nix View File

@@ -1,3 +1,4 @@
{ pkgs, ... }:
{
services.glusterfs = {
enable = true;
@@ -7,6 +8,20 @@

services.nfs.server.enable = true;

packageOverrides = pkgs: {
glusterfs = pkgs.glusterfs.overrideAttrs (oldAttrs: {
separateDebugInfo = true;
name = "glusterfs-7.0";
version = "7.0rc2";
src = pkgs.fetchFromGitHub {
owner = "gluster";
repo = "glusterfs";
rev = "227713229a7bba19426186f1615fd891e4e52bb7";
sha256 = "1rq4n0x4wr548m03ny9jqprprn8xsgpp151z83dj0jj0c28h42ww";
};
});
};

# For each brick open port 49152 + brick_num
# Our nodes have 3 bricks
# Opening a heap of ports to make things easier in the future


Loading…
Cancel
Save