quattor / CAF

Perl Common Application Framework
www.quattor.org
Other
4 stars 14 forks source link

FileEditor: fix add_or_replace_sysconfig_lines #211

Closed stdweird closed 7 years ago

stdweird commented 7 years ago

Created regexpes in add_or_replace_sysconfig_lines are wrong, making the code only add and not replace sysconfig lines. (As these are sysconfig files, adding the updated values at the end was probably ok (wrt sourcing in bash); but a bug nonetheless)

jouvin commented 7 years ago

No associated issue, no description... I'm surprised that @ned21 accepted to merged this PR!!!

ned21 commented 7 years ago

@jouvin Good points - clearly I was feeling lax due to it being the weekend! :-)

stdweird commented 7 years ago

@jouvin fixed