summaryrefslogtreecommitdiff
path: root/lib/facter/shorewall_version.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/facter/shorewall_version.rb')
-rw-r--r--lib/facter/shorewall_version.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/facter/shorewall_version.rb b/lib/facter/shorewall_version.rb
new file mode 100644
index 0000000..8990088
--- /dev/null
+++ b/lib/facter/shorewall_version.rb
@@ -0,0 +1,6 @@
+Facter.add('shorewall_version') do
+ setcode do
+ Facter::Util::Resolution.exec('shorewall version')
+ end
+end
+