Well, it should work for suse, but i dunno how to check. For rhel there is no search_file_replace_line method in rhel's chef(or it working not as expected, i could not remember what exactly was wrong with it).