Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fusion inventory: Init at 2.3.18 #28503

Merged
merged 5 commits into from Sep 25, 2017
Merged

Conversation

phile314
Copy link
Contributor

@phile314 phile314 commented Aug 23, 2017

Motivation for this change

Adds a package for the fusion inventory software and the corresponding NixOS service. Fusion Inventory is a monitoring agent.

Things done
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@mention-bot
Copy link

@phile314, thanks for your PR! By analyzing the history of the files in this pull request, we identified @edolstra, @bjornfor and @offlinehacker to be potential reviewers.

};

servers = mkOption {
type = types.listOf types.string;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use types.str

services.fusionInventory = {

enable = mkOption {
default = false;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please declare a type.

@@ -0,0 +1,67 @@
{ stdenv, fetchurl, gnused, buildPerlPackage, perl, perlPackages
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The gnused and perl parameters appear to be unused.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's the last nitpick I have on this :)

@phile314
Copy link
Contributor Author

Rebased it on current nixos-unstable. Can we merge this?

@joachifm joachifm merged commit ffd6cbe into NixOS:master Sep 25, 2017
@phile314
Copy link
Contributor Author

Thanks 👍

@phile314 phile314 deleted the fusion-inventory branch September 25, 2017 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants