[Puppet Users] Re: Controlling gconf values

2009-02-23 Thread Paul Nasrat
> > It all seems a little verbose. Any suggestions on how to improve this? > Maybe trying to puppet manage gconf entries is a bad idea? It's been a while since I've looked at automated configuring gnome, but I think the upstream suggested way to do this would be to use Sabayon to create and apply

[Puppet Users] Require package not working as expected

2009-02-23 Thread Keith Edmunds
I have the following as part of a module: # Ensure "lsb-release" installed package {"lsb-release": ensure => installed, } # Use our sources.list file { "/etc/apt/sources.list": o

[Puppet Users] Increasing the fileserver retrieve timeout

2009-02-23 Thread Martin Englund
I've got a really large file (100+ MB) which I can't transfer, as puppet gives me the following error: Connection timeout calling fileserver.retrieve: execution expired Is there a way to increase the timeout? cheers, /Martin -- Martin Englund, Security Engineer, Web Engineering, Sun Microsyst

[Puppet Users] Re: Require package not working as expected

2009-02-23 Thread Ohad Levy
Hi, Facter runs and transffer the facts to the server before any config is actully done on the client ( puppet needs the facts to decide which configs to send to the client). Your only way around this is to install the package before the first puppet run or wait for the second run (and handle th

[Puppet Users] Re: Increasing the fileserver retrieve timeout

2009-02-23 Thread Mike Renfro
Martin Englund wrote: > I've got a really large file (100+ MB) which I can't transfer, as > puppet gives me the following error: > Connection timeout calling fileserver.retrieve: execution expired I didn't find an obvious timeout on puppetd or puppetmasterd --genconfig just now, but you may ha

[Puppet Users] Re: Require package not working as expected

2009-02-23 Thread Keith Edmunds
> Your only way around this is to install the package before the first > puppet run or wait for the second run (and handle the nil value in the > template...) Thanks, that makes sense. I'm trying to handle the nil value in the template with: <% if has_variable?("lsbdistcodename") and lsbdistcod

Re: [augeas-devel] Re: [Puppet Users] Testing help for new Augeas Puppet provider which only executes if required

2009-02-23 Thread Bryan Kearney
David Lutterkort wrote: > On Fri, 2009-02-20 at 07:53 -0500, Bryan Kearney wrote: >> One question If I have a file with 10 nodes, does augeas re-write >> the whole file, or just scan for the nodes which changed? > > It will write a new file (into a tmp location) and then replace the old > fi

[Puppet Users] Re: Require package not working as expected

2009-02-23 Thread Mike Renfro
On 2/23/2009 7:15 AM, Ohad Levy wrote: > Your only way around this is to install the package before the first > puppet run or wait for the second run (and handle the nil value in > the template...) The first option is what I've always done. Since I'm spending part of the morning rebuilding a s

[Puppet Users] Puppet's Search function

2009-02-23 Thread Robb Wagoner
Hello all, I have read through the sparse documentation on the Search (intentionally capitalized to differentiate from the verb) function as well as searched the group list (and mail archives) with little success to finding an answer. It is my understanding that I want to use the Search function to

[Puppet Users] Re: Puppet's Search function

2009-02-23 Thread Bruce Richardson
On Mon, Feb 23, 2009 at 09:29:53AM -0800, Robb Wagoner wrote: > I would like to know: > a) is my understanding about the purpose of this function incorrect? > b) the recommended way to accomplish making variables defined in classes > available to other classes, dynamically (see below as an example

[Puppet Users] Re: Puppet's Search function

2009-02-23 Thread Peter Meier
Hi > On Mon, Feb 23, 2009 at 09:29:53AM -0800, Robb Wagoner wrote: >> I would like to know: >> a) is my understanding about the purpose of this function incorrect? >> b) the recommended way to accomplish making variables defined in classes >> available to other classes, dynamically (see below as

[Puppet Users] Re: Puppet's Search function

2009-02-23 Thread Robb
Bruce, Thank you for the explanation. I will review the parser.rb and scope.rb to familiarize myself with the code. On Feb 23, 9:40 am, Bruce Richardson wrote: > On Mon, Feb 23, 2009 at 09:29:53AM -0800, Robb Wagoner wrote: > > I would like to know: > > a) is my understanding about the purpose o

[Puppet Users] Puppet Idioms for distributing RPMs and/or buildign source tarballs?

2009-02-23 Thread Michael L. Artz
Sorry for the topic confluence, but I was wondering if there were common puppet "idioms" for either: - distributing an RPM to a series of clients (namely RabbitMQ) and installing the package? I realize that I can do it naively by pulling the file from the puppetmaster and then using the packag

[Puppet Users] Re: Puppet Idioms for distributing RPMs and/or buildign source tarballs?

2009-02-23 Thread Jeremy Pruitt
In response to your first comment, it certainly should be idempotent. Puppet should be able to determine that the rpm is already installed, and I believe that is just a local "rpm -q" or something. So, I don't think it should hit the URL unless it doesn't think it's installed. This can happen, tho

[Puppet Users] Re: Puppet Idioms for distributing RPMs and/or buildign source tarballs?

2009-02-23 Thread Mike Renfro
On 2/23/2009 9:40 AM, Michael L. Artz wrote: > - distributing an RPM to a series of clients (namely RabbitMQ) and > installing the package? I realize that I can do it naively by pulling > the file from the puppetmaster and then using the package resource to > install it via RPM, but I was wond

[Puppet Users] Puppet Python release?

2009-02-23 Thread gluegl
Is there a Puppet Python version? If so where can the latest version be downloaded? Thanks in advance, -E --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to pup

[Puppet Users] Re: Puppet Python release?

2009-02-23 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 gluegl wrote: > Is there a Puppet Python version? > If so where can the latest version be downloaded? > Thanks in advance, Not sure what you are asking. Are you asking if Puppet supports managing python? Or if there is a version of Puppet written i

[Puppet Users] Re: Puppet Idioms for distributing RPMs and/or buildign source tarballs?

2009-02-23 Thread Peter Meier
Hi > Make a regular http- or ftp-accessible repository (instead of using the > puppetmaster's file distribution facility), and use one of the > higher-level rpm-based package providers with the puppet package type > (yum, aptrpm, etc.). You might also be able to do this just with rpm and > a

[Puppet Users] Re: Puppet Idioms for distributing RPMs and/or buildign source tarballs?

2009-02-23 Thread Jeffrey Hulten
Sourcing to a HTTP address works? Since when? On Mon, Feb 23, 2009 at 4:45 PM, Peter Meier wrote: > > Hi > > > Make a regular http- or ftp-accessible repository (instead of using the > > puppetmaster's file distribution facility), and use one of the > > higher-level rpm-based package providers w

[Puppet Users] Re: Puppet Idioms for distributing RPMs and/or buildign source tarballs?

2009-02-23 Thread Peter Meier
Hi > Sourcing to a HTTP address works? Since when? always. package is not file. cheers pete --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@

[Puppet Users] Re: user type issue

2009-02-23 Thread nmay
Right now I know the answer. Membership must be "inclusive". I`ve not understand membership) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@goo