summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2016-02-25 11:29:13 +0200
committerytti <saku@ytti.fi>2016-02-25 11:29:13 +0200
commitf2a7e15657d1a211f20e6a58d0a0f6dbe0857523 (patch)
tree3f2ffb7afc266a113ddf28ee9c91561c769474a4
parent82da30aa38329208126c37829501956162fa2c4d (diff)
parent23f5b95d35efeb35c4e1c0c7edf767466ce714f7 (diff)
Merge pull request #340 from awlx/add_f5_partition_support
Added function to get configuration of all partitions running on a F5
-rw-r--r--lib/oxidized/model/tmos.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/oxidized/model/tmos.rb b/lib/oxidized/model/tmos.rb
index 4841b98..b2b1ea2 100644
--- a/lib/oxidized/model/tmos.rb
+++ b/lib/oxidized/model/tmos.rb
@@ -41,6 +41,8 @@ class TMOS < Oxidized::Model
comment cfg
end
+ cmd('cat /config/partitions/*/bigip.conf') { |cfg| comment cfg }
+
cfg :ssh do
exec true # don't run shell, run each command in exec channel
end