diff options
author | Tim Smith <tsmith@chef.io> | 2018-11-28 09:21:44 -0800 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-11-28 09:21:44 -0800 |
commit | e3857bb12f0b186afe4f58513571d940f5a1e44e (patch) | |
tree | f9ba0ced31656bdccfdc9d042376957c33fe0982 | |
parent | af633604e28442884b131dd51a09738251d5f2b6 (diff) | |
download | ohai-nixos.tar.gz |
Add nixos platform_familynixos
This is an entirely unique Linux distro.
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | lib/ohai/plugins/linux/platform.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ohai/plugins/linux/platform.rb b/lib/ohai/plugins/linux/platform.rb index 96beb4cf..59ae7815 100644 --- a/lib/ohai/plugins/linux/platform.rb +++ b/lib/ohai/plugins/linux/platform.rb @@ -173,6 +173,8 @@ Ohai.plugin(:Platform) do "alpine" when /clearlinux/ "clearlinux" + when /nixos/ + "nixos" end end |