El 26/05/17 a las 01:34, vishcuri...@gmail.com escribió:
We use Puppet, hiera, r10k with a number of forge modules, roles and profiles patterns to perform an automated deployment of a Java/NodeJS Application.

I find r10k to be very useful in fetching all dependent modules from a Puppetfile. However I am confused with the benefits of the r10k dynamic environments. We have 8 environments, so we have created 8 branches in Git. The important feature is that all these 8 environments are identical except for heira properties.

I think this could be the "problem" (not a real problem). If your 8 environments are the same except hiera properties, then I think you don't need 8 environments, but just one.

You could create a fact indicating which of these 8 environments the node belongs to and modify your hiera hierarchy according to this new fact. This way you could use just one environment for all your nodes.

And you could use dynamic environments when you need a dynamic one or when the difference between environments is more than just hiera.

--
Angel L. Mateo Martínez
Sección de Telemática
Área de Tecnologías de la Información
y las Comunicaciones Aplicadas (ATICA)
http://www.um.es/atica
Tfo: 868889150
Fax: 868888337

--
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/0fa6180e-a09f-9bd0-14b3-504bc4d5ffc2%40um.es.
For more options, visit https://groups.google.com/d/optout.

Reply via email to