Add methods required for puppet .conf module

This PR ports the methods required to manage .conf configuration files in a puppet module.
oh, ruby.  I'd prefer to keep these outside of the module block and keep them to a minimum if possible; I can help you fix that though, maybe as a follow-up PR.