Jared Annes
2014-Mar-05 18:53 UTC
[Puppet Users] Best Practices/Ideas for mixing Windows and Linux
I'm fairly new to puppet, and I've been tasked with building manifests to deploy software, mostly monitoring agents. Each agent has different versions, and each agent has different package for each OS. I'm trying to figure out which would be the best way to accomplish this from a design perspective. Right now, everything has it's own module (OS/Agent/Version). However, I'm not sure this is the best way and I'm looking for opinions from others. Some ideas I've had (and I'm not sure some of this is even possible, let alone a good idea): Module for each agent/OS, different versions contained in the module i.e Agent1_linux Agent1_windows Agent2_linux Agent2_windows (each module's init.pp has different version "classes" or something similar) Modules for each agent version, OSes combined in the module Agent1_v1 Agent1_v2 Agent2_v1 Agent2_v2 (each modules init.pp has different code for the different OSes) Combining the two ideas, one module for each agent Agent1 Agent2 (each modules init.pp has different code for OS and versions). Ideas? Suggestions? Theories? Thanks for any/all input. Keep in mind I'm new to this product, so I might not be making absolute sense. -- 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/410eb3db-83bb-4473-8d85-437ef813c546%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.