What are best practices custom code?

asked 2015-11-05 22:30:31 -0500

puppetask5000 gravatar image

Hello,

When using the new puppet 4 directory structure for code in /etc/puppetlabs/code/environment/master or production and having different environments like /environment/test, /environment/dev

Where is the best directory location to put custom code? Is it under /etc/puppetlabs/code/ somwhere? taking into account I want to use git for source code control and use geppeto to manage the three environments and my own custom code, I want to keep my custom puppet code separate from the pre-build forge code. The custom code area will be used by many people writing different puppet modules, so how are permissions and ownerships handled from a linux perspective? do I put who ever needs to create puppet code into the pe_puppet linux group?

Thanks.

edit retag flag offensive close merge delete