I need some advice - In my environment I have multiple groups which manage multiple applications in three different environments (dev/qa/prod). The layout of the puppet files is very non-standard and that causes problems. The three environments have subtle differences which are codified in puppet.
The node classes are always going to be named after the servers (the name includes the environment, so there are three of them). The puppet code for the servers typically has a common part and an environment specific part. Anyone have a good layout that would allow arranging the server definitions in a puppet friendly way? I was kind of thinking that the layout would be: modules/<group_name>/<application_name>/init.pp (for common parts) modules/<group_name>/<application_name>/<env>.pp (for environment parts, requiring common parts) And then the node class would just include <group_name>::<appliation_name>::<env> Anyone have a better method? -- 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/d915bcdc-7ea0-434e-890b-4f3b08b0cc2d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.