[Puppet Users] Re: if NOT defined

2008-09-16 Thread Trevor Vaughan
Brice, I think that you're going to see a LOT of people welcoming this feature. +1 Trevor On Mon, Sep 15, 2008 at 4:41 PM, Brice Figureau <[EMAIL PROTECTED]> wrote: > > Jeff wrote: >> I've been through the documentation and for the life of me I can't >> figure out how to implement if not defin

[Puppet Users] installing native gems

2008-09-16 Thread Chris Blumentritt
I am trying to install passenger which requires fastthread which is asking for an architecture. How are people handling this. One option I have heard is pull the architecture specific gem down locally and install that. What are other techniques that have been used? Chris --~--~-

[Puppet Users] Re: if NOT defined

2008-09-16 Thread Larry Ludwig
> It might even evoluate in a full-fledged if 'expression' (ie combination > of ==,!=, and/or...) if I find the motivation and the spare time :-) Actually in some ways I DON'T want to see full comparison operators. Why? Because it makes testing much hard to ensure the code is correct. -L -- La

[Puppet Users] Re: installing native gems

2008-09-16 Thread Adam Jacob
On Tue, Sep 16, 2008 at 8:39 AM, Chris Blumentritt <[EMAIL PROTECTED]> wrote: > > I am trying to install passenger which requires fastthread which is > asking for an architecture. How are people handling this. One option > I have heard is pull the architecture specific gem down locally and > ins

[Puppet Users] Re: Sharing the same file for different nodes

2008-09-16 Thread josh
Joshua, On Sep 15, 2:26 pm, "Joshua Timberman" <[EMAIL PROTECTED]> wrote: > On Mon, Sep 15, 2008 at 10:44 AM, josh <[EMAIL PROTECTED]> wrote: > > > class typeA { > >    file { "/etc/ipf/ipf.conf": > >        owner => "root", > >        group => "sys", > >        mode  => 644, > >        source =>

[Puppet Users] Module Standards

2008-09-16 Thread Digant C Kasundra
Hello everyone, My team and I have been mulling over the module standards that were proposed (http://www.reductivelabs.com/trac/puppet/wiki/ModuleStandards) Members of our team like to break large classes up into tiny pieces, which isn't covered in this doc. For instance, if a class declares

[Puppet Users] Getting started.. quick start guide?

2008-09-16 Thread Brian Mathis
>From what I've been reading about puppet I think it's the answer to my (and every sysadmin's) prayers. I've been going over the docs at the reductive labs web site, and I've found a short introduction using the 'sudo' example, but the next step I've found there is "everything". Does anyone know

[Puppet Users] Re: Getting started.. quick start guide?

2008-09-16 Thread Brian Gupta
On Tue, Sep 16, 2008 at 1:21 PM, Brian Mathis <[EMAIL PROTECTED]> wrote: > > From what I've been reading about puppet I think it's the answer to my > (and every sysadmin's) prayers. I've been going over the docs at the > reductive labs web site, and I've found a short introduction using the > 'su

[Puppet Users] Re: Getting started.. quick start guide?

2008-09-16 Thread Bjørn Dyre Dyresen
I recommend getting the book "pulling strings with puppet" It is well laid out and will teach you what you need to know in a rapid fashion with clear and easy to understand examples. The other thing is you have to ask your self what you want puppet to manage. Do you want puppet to manage a nfs se

[Puppet Users] Re: Getting started.. quick start guide?

2008-09-16 Thread Mike Renfro
On 9/16/2008 12:21 PM, Brian Mathis wrote: > Does anyone know of a guide or site that can get someone going on > puppet quickly, without having to swallow the whole system at once? Same recommendations as everyone else (James Turnbull's book, haven't read it, but everyone else says it's great),

[Puppet Users] Re: Module Standards

2008-09-16 Thread Kenton Brede
2008/9/16 Digant C Kasundra <[EMAIL PROTECTED]>: > > Hello everyone, > > My team and I have been mulling over the module standards that were proposed > (http://www.reductivelabs.com/trac/puppet/wiki/ModuleStandards) > > Members of our team like to break large classes up into tiny pieces, which >

[Puppet Users] Custom function with custom class

2008-09-16 Thread barrowkwan
I have created a custom function, my_test.rb ( it is under /var/lib/ puppet/lib/puppet/parser/functions in Fedora ). the function is like this module Puppet::Parser::Functions newfunction(:my_test, :type => :rvalue) do |args| "HelloWorld" end end now I want to create a custom Class and