Just wanted to get a quick post up with some examples for your Core Repository. This is based on code extracted from my current Puppet Environment and I will continue to add to it as I refactor my Puppetserver early next year. There are notes in the README file inside of the repository providing an overview of what is included. Feel free to contribute with pull requests if you have an examples you wish to share.
Repository can be found here.