summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Waldt <waldt@b1-systems.de>2018-03-01 17:53:27 +0100
committerEike Waldt <waldt@b1-systems.de>2018-03-01 17:53:27 +0100
commit6f35a70e7839c0f6bc85f7558b13be47efcb0c22 (patch)
tree50d6529847e7aa4ef1f2bbc40163272ea3799d2b
parentf1bcef2e84b7c4f00850a9b2389bc52f39f644b9 (diff)
downloadohai-6f35a70e7839c0f6bc85f7558b13be47efcb0c22.tar.gz
add more suse distributions
-rw-r--r--lib/ohai/plugins/linux/platform.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ohai/plugins/linux/platform.rb b/lib/ohai/plugins/linux/platform.rb
index 22f64402..ec9d2ae5 100644
--- a/lib/ohai/plugins/linux/platform.rb
+++ b/lib/ohai/plugins/linux/platform.rb
@@ -131,7 +131,7 @@ Ohai.plugin(:Platform) do
"rhel"
when /amazon/
"amazon"
- when /suse/
+ when /suse/, /sles/, /opensuse/
"suse"
when /fedora/, /pidora/, /arista_eos/
# In the broadest sense: RPM-based, fedora-derived distributions which are not strictly re-compiled RHEL (if it uses RPMs, and smells more like redhat and less like