Managing the puppet config file with a resource.

Needs to be tested!
this should be handled outside the resource definition.