diff options
author | varac <varacanero@zeromail.org> | 2015-03-10 22:51:31 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2015-03-11 21:58:10 +0100 |
commit | 0c916d8e70bdb6165fe25d6f4e3ceadb1c0622a0 (patch) | |
tree | f6565e0ec97bafec65abcd96942b2161ad91305e /puppet/modules/augeas/spec/classes/augeas_spec.rb | |
parent | 96882181d7cdcdf2c10918c007ae15dfd566410a (diff) |
Use augeas instead of file_line to configure entries in /etc/check_mk/mrpe.cfg (Bug #6788)
We used file_line before, but when the some check parameters change, a
new line would be added, leaving the old line there, resulting in two
checks with the same name but with different parameters.
Augeas can handle this better, but it is important to use 'rm' to
remove all old lines with different parameters before adding the
new line.
Change-Id: Iad69dfd20f487a16d372a4f4a4bc53299f9e4a66
Diffstat (limited to 'puppet/modules/augeas/spec/classes/augeas_spec.rb')
0 files changed, 0 insertions, 0 deletions