Fix the grep logic

1. Syntax fix as we are only checking for exit code..not logic
2. logically we should check for if the word doesn't exist
only write to ceph.conf if section !exist