Skip to content

Commit a8a1d42

Browse files
authored
Merge pull request #37 from mahant3sh/master
Enabled case-insensitive comparison of QFX Product Models.
2 parents 509a688 + 61e08d7 commit a8a1d42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/facter/junos.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Facter.add(:junos_personality) do
77
setcode do
88
case Facter.value("productmodel")
9-
when /^(ex)|(qfx)|(pvi-model)/
9+
when /^(ex)|(qfx)|(pvi-model)/i
1010
"JUNOS_switch"
1111
when /^srx(\d){4}/
1212
"JUNOS_SRX_HE"

0 commit comments

Comments
 (0)