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

2012-02-11 Thread Tony C
node classification seems essential to growing out my puppet infrastructure and to do some neat things with it. Can someone post a very simple example of how I can leverage external node classification in my scenario? If this warrants another thread, please let me know. Thanks everyone. On Feb

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

2012-02-11 Thread Tony C
Thanks for the assistance. I checked out Hiera and to be honest, that is really way out of my league right now. When I get there, I will definitely be looking into it, because I know I will get there soon, unless you want to give me the 5 minutes selling pitch? =) I have been reading the style gui

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

2012-02-11 Thread ad
I'd recommend looking into using an external node classifier. I like Foreman, though it doesn't support parameterized classes yet (there is an easy workaround though). Adam On Feb 11, 3:24 pm, Tony C wrote: > Hello Everyone, > > I'm still pretty new with puppet so please bare with me. I tried >

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

2012-02-11 Thread Tony C
Thanks for the assistance. I checked out Hiera and to be honest, that is really way out of my league right now. When I get there, I will definitely be looking into it, because I know I will get there soon. =) I have been reading the style guide and the best practices pages and came up with this mo

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

Re: [Puppet Users] Re: Adding a parameter to a custom Puppet type/provider

2012-02-11 Thread Stefan Schulte
Can you provide your resource definition where you use the logical_volume type? -Stefan On Sat, Feb 11, 2012 at 09:31:36AM -0600, Jason Koppe wrote: > I do have /var/lib/puppet/lib/puppet/type/logical_volume.rb on my puppet > master and I still get the same error. > > On Wed, Dec 7, 2011 at 6:01

Re: [Puppet Users] Re: Adding a parameter to a custom Puppet type/provider

2012-02-11 Thread Jason Koppe
I do have /var/lib/puppet/lib/puppet/type/logical_volume.rb on my puppet master and I still get the same error. On Wed, Dec 7, 2011 at 6:01 AM, Stefan Schulte < stefan.schu...@taunusstein.net> wrote: > On Tue, Dec 06, 2011 at 10:34:47AM -0800, Jason Koppe wrote: > > http://pastie.org/private/t9nl

[Puppet Users] Re: Issue Installing Puppet on Red Hat6

2012-02-11 Thread treydock
rubygems-1.37 is correct for RHEL 6. rubygems is the "gem" program, ie package manager for ruby, it's not a subset or Ruby. Do you have EPEL enabled ? You'll need that to satisfy some gem dependencies. The package your missing is rubygem-rake. On Feb 10, 5:02 pm, jcbollinger wrote: > On Feb 10