From: Pim Polderman Date: Wed, 28 Sep 2016 19:29:33 +0000 (+0200) Subject: ip6tables_version fact doesn't return the version X-Git-Tag: 1.8.2~6^2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=9c0a92e62ff1f82d3dc808eaf967237ca7191902;p=puppet-modules%2Fpuppetlabs-firewall.git ip6tables_version fact doesn't return the version When running the 'facter ip6tables_version' it returns a empty string. The problem is in the confine :kernel => linux line. Adjusted this to capital L. --- diff --git a/lib/facter/ip6tables_version.rb b/lib/facter/ip6tables_version.rb index 3dce27f..f2540c6 100644 --- a/lib/facter/ip6tables_version.rb +++ b/lib/facter/ip6tables_version.rb @@ -1,5 +1,5 @@ Facter.add(:ip6tables_version) do - confine :kernel => :linux + confine :kernel => :Linux setcode do version = Facter::Util::Resolution.exec('ip6tables --version') if version