Hi puppet peeps,
Something to think about for the weekend. We're running puppet 3.6 now
and it is warning me that config environments are deprecated and that I
should migrate. That's fine, but I'm not quite sure how to replicate the
setup I've got now with directory environments.
Currently, there are 3 puppet environments served out of
/etc/puppet/environments on my puppetmaster. These are basically
checked-out from svn and are used for production servers. They are also
checked out in the homedirs of some of my puppet users and served as dev
environments so they can develop in their homedirs, check into svn, and
I then push their changes to prod.
e..g
[resnet]
modulepath =
$confdir/environments/resnet/modules:$confdir/environments/common/modules:$confdir/modules
manifest = $confdir/environments/resnet/manifests/nodes.pp
[netops]
modulepath =
$confdir/environments/netops/modules:$confdir/environments/common/modules:$confdir/modules
manifest = $confdir/environments/netops/manifests/nodes.pp
[resnet_jg4461]
modulepath =
/home/jg4461/PUPPETROOT/environments/resnet/modules:/home/jg4461/PUPPETROOT/environments/common/modules:$confdir/modules
manifest =
/home/jg4461/PUPPETROOT/environments/resnet/manifests/nodes.pp
[netops_jg4461]
modulepath =
/home/jg4461/PUPPETROOT/environments/netops/modules:/home/jg4461/PUPPETROOT/environments/common/modules:$confdir/modules
manifest =
/home/jg4461/PUPPETROOT/environments/netops/manifests/nodes.pp
With directory environments, I don't think I can serve dev environments
from home directories any longer, which implies that the dev
environments will have to be served from /etc/puppet/environments. This
in turn means I'm going to have to look at more granular permissions so
my users can only edit their dev environments, not the prod ones. Then I
can use symlinks to link back their homedir so it looks the same for them.
At the same time, we're shortly thinking of moving to git rather than
svn, because svn is a pain to do branching and merging. Does anyone have
advice for using svn or git in a multiplayer puppet system?
Happy weekend,
Jonathan
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/537F4FC6.20103%40bristol.ac.uk.
For more options, visit https://groups.google.com/d/optout.