r10k: manage your Puppet environments dynamically


4.00 avg. rating (81% score) - 2 votes

If you already played with Puppet’s environments, you certainly know that the major problem is the static form of them. When you want to test something new (a module for example), it’s not quite easy without using environments. r10k bring the dynamic feature and easy module managment !

It’s really easy to maintain your modules without using a lot of git submodules. Simply declare your modules informations like that:

and ask r10k to get informations from a GitHub repository for example, with specific tag etc… So you can easily build a huge amount list of module there and easily test a new version of something in a new environment. Then when you call your puppet agent for test, simply add the correct wished environment variable.

r10k is a gem and easy to install. When you have more and more environments to manage, you should do it dynamically. More informations are available on the official GitHub project.

Author: Deimos

I'm a passionate DevOps. I love transmit my skills and I love working on high availability infrastructures/technologies.

Laisser une réponse