Yep, I used it heavily three or four years ago for the same thing -- system configuration files on RHEL boxes -- when I was first getting involved with and deploying puppet.
Nowadays, though, I primarily use Ansible and its core "lineinfile" module gives me pretty much the same end result.
Nowadays, though, I primarily use Ansible and its core "lineinfile" module gives me pretty much the same end result.