summaryrefslogtreecommitdiff
path: root/lib/oxidized/model
diff options
context:
space:
mode:
authorElvin Efendi <elvin.efendiyev@gmail.com>2016-02-04 12:29:47 -0500
committerElvin Efendi <elvin.efendiyev@gmail.com>2016-02-04 12:29:47 -0500
commita532a6307796d2195f827930304100c3b48ed20e (patch)
tree8953dbf2808bb200ca389df0556ef6b6bec2beac /lib/oxidized/model
parenta26f6f42aad72d8aac3e4eb107bf6458fc6d302f (diff)
parent1e202c0dc861f534a0c9ad009921ef258467a926 (diff)
Merge pull request #19 from Shopify/strip-fortigate-systime
stripe system time value in fortigate
Diffstat (limited to 'lib/oxidized/model')
-rw-r--r--lib/oxidized/model/fortios.rb1
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