summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorNat Morris <nat@netflix.com>2016-02-06 18:30:00 +0000
committerNat Morris <nat@netflix.com>2016-02-06 18:30:00 +0000
commit7376f1c81de3aefd5feee5937ebb68ba202cdbc8 (patch)
tree4c85a9b13ad9b592016b05c240ee98e7fc7c2f46 /lib
parent683d95bb62ef30e5902042ea2b68b79ceb944475 (diff)
ignore configuration dates
Diffstat (limited to 'lib')
-rw-r--r--lib/oxidized/model/masteros.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/oxidized/model/masteros.rb b/lib/oxidized/model/masteros.rb
index 3f5a2fc..d48fe27 100644
--- a/lib/oxidized/model/masteros.rb
+++ b/lib/oxidized/model/masteros.rb
@@ -12,6 +12,7 @@ comment '!'
cmd :all do |cfg|
cfg.each_line.to_a[1..-2].join
+ cfg.gsub! /^(! Configuration ).*/, '!'
end
cmd 'show inventory' do |cfg|
@@ -43,4 +44,4 @@ comment '!'
pre_logout 'exit'
end
-end \ No newline at end of file
+end