case insensitve OS matching to make it work with jruby

missed from the original upstream patch
This commit is contained in:
sebastia 2023-01-22 19:21:56 +00:00
parent f6ef4a1c45
commit 922781c4e2
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
COMMENT = Puppet module management
DISTNAME = facter-4.2.14
REVISION = 0
CATEGORIES = sysutils
HOMEPAGE = https://github.com/puppetlabs/facter
MAINTAINER = Sebastian Reitenbach <sebastia@openbsd.org>

View File

@ -8,7 +8,7 @@ Index: lib/facter/framework/detector/os_detector.rb
detect_distro
when /freebsd/
:freebsd
+ when /openbsd/
+ when /openbsd/i
+ :openbsd
when /bsd/
:bsd