]> review.fuel-infra Code Review - puppet-modules/puppetlabs-firewall.git/commit
(#10957) add iptables_version and ip6tables_version facts
authorJonathan Boyett <jonathan@failingservers.com>
Wed, 30 Nov 2011 23:54:29 +0000 (15:54 -0800)
committerKen Barber <ken@bob.sh>
Sat, 3 Dec 2011 21:12:17 +0000 (21:12 +0000)
commit6d44e2f006a71c57b409a2ad1d342de77b57c9a0
tree066ea5a43d3a7f112b9eaa9fcef45d71c8304198
parenta5e7498e412bd13cfe1792a30b1e71676c839dd9
(#10957) add iptables_version and ip6tables_version facts

These facts return the version of iptables or ip6tables by running --version
on the binary in question.
lib/facter/iptables.rb
spec/unit/facter/iptables_spec.rb [new file with mode: 0644]