Skip to content

Commit d8c7c32

Browse files
committed
(BugFix) Update OS Family comparison to correctly match
1 parent 2632e3b commit d8c7c32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/mod/security_crs.conf.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<% if scope['facts']['os']['family'] == 'Redhat' and scope['facts']['os']['release']['major'].to_i <= 7 -%>
1+
<% if scope['facts']['os']['family'] == 'RedHat' and scope['facts']['os']['release']['major'].to_i <= 7 -%>
22
# ---------------------------------------------------------------
33
# Core ModSecurity Rule Set ver.2.2.9
44
# Copyright (C) 2006-2012 Trustwave All rights reserved.

0 commit comments

Comments
 (0)