After some web-searching, I found a promising thread on the puppet list asking what's lost without a puppet master.
This page documents the standards for how to write common modules,as part of the Puppet Common Modules (PCM) project.
Augeas is a lovely tool that treats config files (well, anything really, but it's mostly about config files) as trees of values. You then modify the tree as you like, and write the file back.