I'm in the situation where I am constantly spinning up new vms for development. I've got a base image that i can clone but it quickly gets out of date and you have no method of adding a change across a lot of vms.
I want to set up a puppet script that runs on first boot of a virtual machine and there are lots of guides to creating a site.pp that is run directly by puppet, but that involves a single file that you have to set up on a node. What i would like to do is have a development setup on a puppetmaster so that all my vms can call into the same point and stay up to date and allow me to create a comprehensive set of packages using fileserver etc.
The problems I see with this is that i can't/don't want to rely on hostnames to identify vms, I don't care about keeping a history of pki as vm names may get reused.
Can puppet be used with puppetmaster and essentially ignore all pki? Can I create a environment such that i can register a vm into via a fact or some other means? I would like to do puppet agent type=test1 or similar.
Generally how can I use puppet via a centralized source where i don't particularly care about the security of the nodes and expect nodes to come and go frequently?