Environments is definitely the way to handle this. Typically you would set up environments under /etc/puppet/environments/sandra and have all your code in there.
Is the issue that you prefer that developers do not have code in /etc/puppet/environments? If you look at the puppet.conf in the link you provided, you can see that you can setup the path used for any environment, so you can put the files anywhere you want. ❧ Brian Mathis On Thu, Aug 15, 2013 at 10:14 AM, Sandra Schlichting < littlesandr...@gmail.com> wrote: > Hello all =) > > What I would like is a way so multiple people can make changes to all > files in /etc/puppet/, but only after they have tested their changes then > they "git push" so /etc/puppet is updated. The git repo is in /etc/puppet. > When I read about environments [1] I get the impression that is only for > module development, is that correct? > > Ideally what I would like is each user to have their private environment > where they can "git pull" to. E.g. > > ssh sandra@puppet > cd /home/sandra/puppet > git pull > # edit files > exit > > ssh root@node > puppet agent --environment sandra > > exit > > > ssh sandra@puppet > cd /home/sandra/puppet > git push > > Can something like this be done? And if so, what would my > /etc/puppet/puppet.conf look like? > > > Lots of love, > > Sandra =) > > > [1]: http://docs.puppetlabs.com/guides/environment.html > > -- > 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. > For more options, visit https://groups.google.com/groups/opt_out. > -- 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. For more options, visit https://groups.google.com/groups/opt_out.