[Puppet Users] Re: How to use definitions with common resources?

2009-04-16 Thread Simon J Mudd
philipp.hanselm...@gmail.com (puppet) writes: > Replace this line: > > $download_dir = '/root/tmp' > with: > >#NOTE: generate is executed on the puppetmaster. > $download_dir = generate("/usr/bin/env","bash",'-c',"/bin/ > mktemp") > > With this every time your defi

[Puppet Users] Re: How to use definitions with common resources?

2009-04-16 Thread philipp Hanselmann
Simon J Mudd schrieb: > philipp.hanselm...@gmail.com (puppet) writes: > > >> Replace this line: >> >>> $download_dir = '/root/tmp' >>> >> with: >> >>#NOTE: generate is executed on the puppetmaster. >> $download_dir = generate("/usr/bin/env","bash",'-c',

[Puppet Users] Re: question about reports

2009-04-16 Thread Benoit Decherf
I have the same error: It occurs when rrdgraph=true at /usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb line 528. Benoit Luke Kanies wrote: > On Sep 30, 2008, at 3:31 PM, Nicolas Arias wrote: > > >> when a node tries to send a report it drops the following error: >> >> err: Reporting failed:

[Puppet Users] reports on standalone puppet

2009-04-16 Thread Benoit Decherf
Hi, Is it possible to enable report when executing puppet standalone ? It seems that "report=true" means that puppet have to send the report to the server, so it's normal that it doesn't work on standalone. Is there another way to execute reports ? Benoit --~--~-~--~~~-

[Puppet Users] Re: How To: Puppet Setup on Redhat 8 using the puppet gem.

2009-04-16 Thread Brandon Evans
It is Redhat 8 from 2002 >:-} My first swing at getting it running on rh8 didn't go so well. The method listed here seems to work fine. Since my original post I have since rolled it out to my redhat 8 boxes (about 6 of them) and everything is running smooth. -brandon David Lutterkort wrot

[Puppet Users] Re: How to use definitions with common resources?

2009-04-16 Thread Simon J Mudd
philipp.hanselm...@gmail.com (philipp Hanselmann) writes: > Simon J Mudd schrieb: ... > >>#NOTE: generate is executed on the puppetmaster. > >> $download_dir = generate("/usr/bin/env","bash",'-c',"/bin/ > >> mktemp") > >> > >> With this every time your definition get used it wil

[Puppet Users] require a define or similar

2009-04-16 Thread Matt
Hi, I've been using the excellent - http://reductivelabs.com/trac/puppet/wiki/Recipes/AmazonWebService s3get recipe for a while. This allows me to call s3get on a file in a bucket from Amazon S3. The problem I have is that I can't see a way for an exec or package type to wait (require) while the

[Puppet Users] Re: require a define or similar

2009-04-16 Thread Robin Sheat
On Friday 17 April 2009 06:52:50 Matt wrote: > This allows me to call s3get on a file in a bucket from Amazon S3. The > problem I have is that I can't see a way for an exec or package type to > wait (require) while the download is completed so I can complete tasks > within one poll. Why can't you

[Puppet Users] Installing crontabs and syncing files to temporary location

2009-04-16 Thread Ian Burrell
Is there a way to copy a source file to a temporary location? Or to download a file by comparing it to a different file? The problem I am trying to solve is updating crontabs when the source file changes. Our crontab files are checked into version control, synced by "file" to a temp file, and app

[Puppet Users] Re: Puppet

2009-04-16 Thread Rusty Myers
I'm trying to run through this thread to install Puppet on a few test macs. I'm getting some unusual errors. I'm following the install guide from here: http://reductivelabs.com/trac/puppet/wiki/InstallationGuide#BuildingtheServer This is what I've done: 1) Install Puppet and Factor packages fro

[Puppet Users] test (sorry for the noise)

2009-04-16 Thread Rob McBroom
I tried to change the address I was subscribed with and though I've gotten confirmation that I'm subscribed, I'm not getting any new messages. Just wondering if it'll let me post. -- Rob McBroom --~--~-~--~~~---~--~~ You received