puppetlabs-toy-chest / pct

Puppet Content Templates
Apache License 2.0
20 stars 5 forks source link

Determine list of starter Puppet Content Templates #18

Closed jpogran closed 3 years ago

jpogran commented 3 years ago

Evaluate existing set of PCT experimentations to see if any are worthy first example templates. Evaluate whether any new template should be created. End goal is a short list of example templates that showcase using PCT Do not create templates for this ticket

sanfrancrisko commented 3 years ago

The current aim is to base a set of templates off what the minimum requirements would be to follow the Beginner's Guide to writing modules. This would require:

sanfrancrisko commented 3 years ago

A potentially compelling addition would be to:

sanfrancrisko commented 3 years ago

Proposed PCT Starter Templates

Audience

As a potential Puppet module developer, I want to be able to quickly build a module that I can put on the forge and have other collaborators work on it with me

Part I

OK, how do I create a basic module...nothing in it, just the base minimum requirements?

Cool, OK, I need a class now as a starter

Good, now I want other people to enhance it but make sure there's tests on their contributions

Part II (Stretch)

OK, let's go to the next level of testing and do some acceptance testing! I've heard Litmus is quite good for acceptance testing? Do you have a template for that?

Part III (Stretch)

How did I create that Github Action Workflow? How can I create my own template items like that, because we have our own CI I'd like to create a template for!

Templates Overview

puppet-module-base

Type: project

puppet-class

Type: item

github-actions-spec-tests

Type: item

sanfrancrisko commented 3 years ago

Starter templates will be held here: https://github.com/puppetlabs/baker-round/tree/pct-poc-templates

jpogran commented 3 years ago

I think this ticket is complete and can be closed.