Skip to content

Commit 3786ef1

Browse files
authored
Update iptables_persistent_version.rb
Update legacy fact from operatingsystem to os.name
1 parent e1c2f3f commit 3786ef1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/facter/iptables_persistent_version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22

33
Facter.add(:iptables_persistent_version) do
4-
confine operatingsystem: ['Debian', 'Ubuntu']
4+
confine 'os.name': ['Debian', 'Ubuntu']
55
setcode do
66
# Throw away STDERR because dpkg >= 1.16.7 will make some noise if the
77
# package isn't currently installed.

0 commit comments

Comments
 (0)