Add methods required for puppet .conf module

This PR ports the methods required to manage .conf configuration files in a puppet module.