mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-29 15:43:00 +00:00
Merge pull request #324698 from bbenno/graylog-6_0
This commit is contained in:
commit
0397741f8a
@ -15,6 +15,7 @@ let
|
||||
message_journal_dir = ${cfg.messageJournalDir}
|
||||
mongodb_uri = ${cfg.mongodbUri}
|
||||
plugin_dir = /var/lib/graylog/plugins
|
||||
data_dir = ${cfg.dataDir}
|
||||
|
||||
${cfg.extraConfig}
|
||||
'';
|
||||
@ -93,6 +94,12 @@ in
|
||||
description = "List of valid URIs of the http ports of your elastic nodes. If one or more of your elasticsearch hosts require authentication, include the credentials in each node URI that requires authentication";
|
||||
};
|
||||
|
||||
dataDir = mkOption {
|
||||
type = types.str;
|
||||
default = "/var/lib/graylog/data";
|
||||
description = "Directory used to store Graylog server state.";
|
||||
};
|
||||
|
||||
messageJournalDir = mkOption {
|
||||
type = types.str;
|
||||
default = "/var/lib/graylog/data/journal";
|
||||
|
9
pkgs/tools/misc/graylog/6.0.nix
Normal file
9
pkgs/tools/misc/graylog/6.0.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ callPackage, lib, ...}:
|
||||
let
|
||||
buildGraylog = callPackage ./graylog.nix {};
|
||||
in buildGraylog {
|
||||
version = "6.0.4";
|
||||
sha256 = "sha256-PU7AepIRwx7FibBkZaQUWUy3v2MeM7cS77FH28aj8I8=";
|
||||
maintainers = with lib.maintainers; [ bbenno ];
|
||||
license = lib.licenses.sspl;
|
||||
}
|
@ -8499,6 +8499,8 @@ with pkgs;
|
||||
|
||||
graylog-5_2 = callPackage ../tools/misc/graylog/5.2.nix { };
|
||||
|
||||
graylog-6_0 = callPackage ../tools/misc/graylog/6.0.nix { };
|
||||
|
||||
graylogPlugins = recurseIntoAttrs (
|
||||
callPackage ../tools/misc/graylog/plugins.nix { }
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user