I´m thinking in create three different puppet environments: develop, 
testing and production.

Each environment has its own dir 
"/etc/puppet/environments/$environment/modules/". You can manage the 
modules using the flag "--environment" with every command, for instance:

# puppet module install user-ssh --environment develop

This command install the module "user-ssh" in the dir specified before and 
you don´t touch the production code.

About the git configuration I´m thinking create a repo in the develop 
module dir with three branches "develop, testing and production". Next step 
is clone the branch "testing" in the testing module repo and then cloning 
"master" branch in the production dir.

What do you think?

This page help me a 
lot: https://puppetlabs.com/blog/git-workflow-and-puppet-environments/


El lunes, 11 de febrero de 2013 21:53:34 UTC+1, Mason escribió:
>
> How do other people organize their puppet configs in Git? 
>
> Right now we are using SVN, with about 100 modules and 4 environments. 
> Each module and environment has their own trunk/tag trees, which makes it 
> easy for each product team to manage their individual manifests. (We deploy 
> by tag.) 
>
> However, we are looking to move to Git, and I am wondering how other 
> people have tackled this? 
>
> I'd like to maintain the independent versioning of the modules, so 
> individual git repos for each module seems the right way to go? It feels a 
> little overweight, but am I over thinking it? We are running gitlab, so 
> it's easy for us to spin up new repos. 
>
> I've also been looking for some examples of how people have implemented 
> continuous integration and deployment of their puppet manifests from git.

-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to