diff options
author | ytti <saku@ytti.fi> | 2016-02-04 20:19:24 +0200 |
---|---|---|
committer | ytti <saku@ytti.fi> | 2016-02-04 20:19:24 +0200 |
commit | ae1fc4d7b79e818274b0325bc52e9eeb03dda1f5 (patch) | |
tree | 8953dbf2808bb200ca389df0556ef6b6bec2beac /lib | |
parent | a26f6f42aad72d8aac3e4eb107bf6458fc6d302f (diff) | |
parent | a532a6307796d2195f827930304100c3b48ed20e (diff) |
Merge pull request #305 from Shopify/master
Strip system time value in fortios output
Diffstat (limited to 'lib')
-rw-r--r-- | lib/oxidized/model/fortios.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/oxidized/model/fortios.rb b/lib/oxidized/model/fortios.rb index a9d219c..41bdede 100644 --- a/lib/oxidized/model/fortios.rb +++ b/lib/oxidized/model/fortios.rb @@ -11,6 +11,7 @@ class FortiOS < Oxidized::Model cmd 'get system status' do |cfg| @vdom_enabled = cfg.include? 'Virtual domain configuration: enable' + cfg.gsub!(/(System time: )(.*)/, '\1<stripped>\3') comment cfg end |