Nan Liu gave a talk at Puppet Conf 2014 about this: https://www.youtube.com/watch?v=GoLE6JJU6mA I wasn't there in person, but I have been witness to it in an enterprise environment and it looks like a really good way to go for local dev. Instead of using a local puppetmaster you just just bring in a copy of your manifests and develop masterless. I think my only concerns with developing that way is that you won't get to test hiera in your environment, but that could be a misunderstanding on my part.
On Wednesday, October 15, 2014 9:30:16 AM UTC-7, JeremyCampbell wrote: > > Hi, > > We're using r10k with a 'control' repo to deploy to our production server > following Gary Larizza's excellent series > <http://garylarizza.com/blog/2014/03/07/puppet-workflow-part-3b/> > workflow with r10k. Our current workflow requires engineers to commit > changes to the repo on a feature branch which is then deployed to a test > environment using r10k. They are unable to test changes locally before > making a commit as they don't have a local development puppetmaster. We'd > like to implement a local dev environment using VM's and vagrant. > > Our aim is to allow a developer to spin up a local development environment > that has a puppetmaster VM and multiple puppet clients for testing. The > developer should be able to test changes locally before committing changes > for the live test environment. To spin up the environment we expect to > build a puppetmaster VM that will be deployed as a vagrant box. This box > will be more or less a generic puppetmaster without any of our manifests > installed. The developer would then run some scripts to clone the 'control' > repo and checkout the repo's in the Puppetfile. We can't use r10k to > checkout the modules in the Puppetfile as we need each individual module > cloned so developers can work on each module. Is the only solution to > manually clone each module in the Puppetfile? > > Any advice on how local development environments are being used with r10k > in production would be much appreciated! > > Jeremy. > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/a0932fdc-9b83-40ee-9364-fb6904e2ba34%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
