Re: [Puppet Users] Question about reusing classes/modules

2012-02-13 Thread Brian Gupta
users@googlegroups.com" > Date: Sat, 11 Feb 2012 20:48:24 -0500 > To: "puppet-users@googlegroups.com" > Subject: Re: [Puppet Users] Question about reusing classes/modules > > I would avoid this approach - global variables aren't a good i

Re: [Puppet Users] Question about reusing classes/modules

2012-02-13 Thread Kenneth Lo
rs@googlegroups.com>" mailto:puppet-users@googlegroups.com>> Date: Sat, 11 Feb 2012 20:48:24 -0500 To: "puppet-users@googlegroups.com<mailto:puppet-users@googlegroups.com>" mailto:puppet-users@googlegroups.com>> Subject: Re: [Puppet Users] Question about reusin

Re: [Puppet Users] Question about reusing classes/modules

2012-02-11 Thread Eric Shamow
I would avoid this approach - global variables aren't a good idea. Hiera would be a better approach: http://www.devco.net/archives/2011/06/05/hiera_a_pluggable_hierarchical_data_store.php http://www.devco.net/archives/2011/06/06/puppet_backend_for_hiera.php -Eric -- Eric Shamow Professional

Re: [Puppet Users] Question about reusing classes/modules

2012-02-11 Thread krish
> My scenario is this: I have 4 environments, Dev, Test, QA, Prod. Each > of these environments lives in 2 sites, LA and NY. I have 5 > applications that are site and env specific. > > I want to use puppet to template-ize the config files that is required > for each env, per site, per app, so 40 fi

[Puppet Users] Question about reusing classes/modules

2012-02-11 Thread Tony C
Hello Everyone, I'm still pretty new with puppet so please bare with me. I tried searching and I'm pretty sure I've ready my answer but I'm not sure if I'm going down the right path just yet. My scenario is this: I have 4 environments, Dev, Test, QA, Prod. Each of these environments lives in 2 si