Re: [Puppet Users] Re: Best practices on organizing modules

2010-08-02 Thread Jeff McCune
On Mon, Aug 2, 2010 at 4:50 AM, Kenneth Holter wrote: > > Let me briefly mention that we're going to use external nodes to tell > which environment (prod, qass, ...) a node belongs to, and use the > build in puppet enironments to separate code between the environments > (production clients will pu

Re: [Puppet Users] Mulitple Configuration Files and Permissions

2010-08-02 Thread Jeff McCune
On Mon, Aug 2, 2010 at 4:53 AM, ScubaDude wrote: > Hi, > >  I'm a puppet newbie so I don't know what the best approach is. >  I'm trying to write a recipe for apache, there are multiple hosts > each with different configurations in the environment so I was > thinking of using $hostname and having

Re: [Puppet Users] Re: standalone puppet file source error "Could not evaluate: getaddrinfo: ..."

2010-08-02 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/03/2010 03:28 AM, bobics wrote: > I downgraded to puppet 0.25.5 and it works fine now. This looks like > a bug to me, please le me know if I should file a ticket. if you don't find another bugreport, that describes that problem, you should file

Re: [Puppet Users] generating catalog files

2010-08-02 Thread Patrick Mohr
On Aug 2, 2010, at 5:50 PM, Jon Wilson wrote: > Hiya, > > Is there a way I can easily generate the catalog for a particular > puppet client, without actually running Puppet on that client? > > I'd like to write some unit tests for my Puppet master, which generate > catalogs for a set of clients

Re: [Puppet Users] Re: standalone puppet file source error "Could not evaluate: getaddrinfo: ..."

2010-08-02 Thread Matt Robinson
I was seeing similar problems and it had to do with a bug in facter since it wasn't confining a windows fact to windows. Try this patch on your facter: http://github.com/nicklewis/facter/commit/b2c21145885c15abc43b3641fcf903e13a859565 On Mon, Aug 2, 2010 at 5:26 PM, bobics wrote: > Why is this

[Puppet Users] generating catalog files

2010-08-02 Thread Jon Wilson
Hiya, Is there a way I can easily generate the catalog for a particular puppet client, without actually running Puppet on that client? I'd like to write some unit tests for my Puppet master, which generate catalogs for a set of clients, and check their content. This will syntax & sanity check my

[Puppet Users] getting empty files from fileserver

2010-08-02 Thread asq
this is really weird. i've upgraded test machine to 2.6 and started getting those. virtually any file pulled from puppetmaster has zero size. it's even true for internal objects like custom functions and facts. whenever puppet decides that file has actually changed (this logic works fine) it pulls

[Puppet Users] Re: standalone puppet file source error "Could not evaluate: getaddrinfo: ..."

2010-08-02 Thread bobics
I downgraded to puppet 0.25.5 and it works fine now. This looks like a bug to me, please le me know if I should file a ticket. I spent at least an entire day on this. :( The only weird thing I see is a Rails warning. see below: > DEPRECATION WARNING: metaclass is deprecated and will be removed

[Puppet Users] Re: standalone puppet file source error "Could not evaluate: getaddrinfo: ..."

2010-08-02 Thread bobics
Why is this even calling getaddrinfo in the first place? Puppet is running totally locally. I was considering a workaround using file paths within 'source' but it doesn't seem to like relative paths either. :( -- You received this message because you are subscribed to the Google Groups "Puppet

Re: [Puppet Users] a chinese document wiki

2010-08-02 Thread Nan Liu
On Wed, Jul 28, 2010 at 12:00 AM, hmy wrote: > > we had translate the puppet document to Chinese, here is : > http://puppet.wikidot.com/ ; but that site more AD. so I want to know can > I put the Chinese document on the pupetlabs.com's wiki or document system > ? > Thanks for co

Re: [Puppet Users] ANNOUNCE: Puppet Dashboard 1.0.3 released

2010-08-02 Thread James Turnbull
Rob McBroom wrote: > OK, I need some help here. > > I updated to 1.0.3 and now all I get from the web interface is the “something > went wrong” message. All I really need to know is where to look for clues. > There’s nothing in `puppet-dashboard/log/production.log` and nothing from > Apache in

Re: [Puppet Users] ANNOUNCE: Puppet Dashboard 1.0.3 released

2010-08-02 Thread Rob McBroom
OK, I need some help here. I updated to 1.0.3 and now all I get from the web interface is the “something went wrong” message. All I really need to know is where to look for clues. There’s nothing in `puppet-dashboard/log/production.log` and nothing from Apache in `/var/log/puppet/dashboard_erro

Re: [Puppet Users] puppet 2.6.0 vs apache/mod_passenger

2010-08-02 Thread Gary Larizza
On second thought (hitting send always triggers those), I'm not sure if this is a puppet bug so much as it's Passenger's problem handling Puppet Manifests. Maybe we can get something on the wiki about these specific rack/passenger combinations and the problems they solve? On Mon, Aug 2, 2010 at 2

Re: [Puppet Users] Parameterised Classes in 2.6.0... still no luck

2010-08-02 Thread Jeff McCune
On Sun, Aug 1, 2010 at 8:52 PM, Douglas Garstang wrote: > Jeff, that was one of the first things I tried. That didn't help. Did > it work for you? Yes, with a trivial manifest with only one parametrized class. -- Jeff McCune http://www.puppetlabs.com/ -- You received this message because you

Re: [Puppet Users] puppet 2.6.0 vs apache/mod_passenger

2010-08-02 Thread Gary Larizza
If this is true, can someone file a bug report against it? Passenger's great, but it seems like we're getting to need very specific versions of rack/passenger for certain features. On Mon, Aug 2, 2010 at 2:50 PM, Russell Jackson wrote: > On 08/02/2010 11:46 AM, Thorsten Biel wrote: > > Hi, > >

Re: [Puppet Users] puppet 2.6.0 vs apache/mod_passenger

2010-08-02 Thread Russell Jackson
On 08/02/2010 11:46 AM, Thorsten Biel wrote: > Hi, > > On Mon, Aug 2, 2010 at 7:38 PM, Russell Jackson wrote: > >> On 08/02/2010 10:35 AM, Christopher Johnston wrote: >>> Looks good from what I can tell, did you setup the config.ru? >>> >> >> Can I take this to mean that you have a working passe

Re: [Puppet Users] puppet 2.6.0 vs apache/mod_passenger

2010-08-02 Thread James Turnbull
Russell Jackson wrote: > On 08/02/2010 10:35 AM, Christopher Johnston wrote: >> Looks good from what I can tell, did you setup the config.ru? >> > > Can I take this to mean that you have a working passenger installation > of 2.6.0? Knowing that it can work would at least narrow it down to a > loca

Re: [Puppet Users] puppet 2.6.0 vs apache/mod_passenger

2010-08-02 Thread Thorsten Biel
Hi, On Mon, Aug 2, 2010 at 7:38 PM, Russell Jackson wrote: > On 08/02/2010 10:35 AM, Christopher Johnston wrote: > > Looks good from what I can tell, did you setup the config.ru? > > > > Can I take this to mean that you have a working passenger installation > of 2.6.0? Knowing that it can work w

Re: [Puppet Users] puppet 2.6.0 vs apache/mod_passenger

2010-08-02 Thread Gary Larizza
Wait - scratch that, this server's back to .25.5 (reverted it to test out a couple of things). I'll try getting 2.6 up and running with Passenger and post if it's successful. I'd still look at 2.2.11. -Gary On Mon, Aug 2, 2010 at 2:30 PM, Gary Larizza wrote: > I'd question Passenger's 2.2.15

Re: [Puppet Users] puppet 2.6.0 vs apache/mod_passenger

2010-08-02 Thread Gary Larizza
I'd question Passenger's 2.2.15 version - I believe 2.2.11 is the last version I've seen work well with Puppet. It's worth a shot to install 2.2.11 and try again. I've got it running on OS X Server 10.6.4 with the following Gems: *** LOCAL GEMS *** actionmailer (2.3.8, 2.3.5, 2.2.2, 1.3.6) acti

Re: [Puppet Users] puppet 2.6.0 vs apache/mod_passenger

2010-08-02 Thread Russell Jackson
On 08/02/2010 11:24 AM, Christopher Johnston wrote: > I have not played with 2.6.0 yet, but I do have it working fine with .25 > just fine. > Same here. Worked in 0.25.5. Stopped working 2.6.0. -- Russell A Jackson Network Analyst California State University, Bakersfield -- You received this

Re: [Puppet Users] puppet 2.6.0 vs apache/mod_passenger

2010-08-02 Thread Christopher Johnston
I have not played with 2.6.0 yet, but I do have it working fine with .25 just fine. On Mon, Aug 2, 2010 at 1:38 PM, Russell Jackson wrote: > On 08/02/2010 10:35 AM, Christopher Johnston wrote: > > Looks good from what I can tell, did you setup the config.ru? > > > > Can I take this to mean that

Re: [Puppet Users] puppet 2.6.0 vs apache/mod_passenger

2010-08-02 Thread Russell Jackson
On 08/02/2010 10:35 AM, Christopher Johnston wrote: > Looks good from what I can tell, did you setup the config.ru? > Can I take this to mean that you have a working passenger installation of 2.6.0? Knowing that it can work would at least narrow it down to a local installation issue rather than a

[Puppet Users] standalone puppet file source error "Could not evaluate: getaddrinfo: ..."

2010-08-02 Thread bobics
When using file { "/tmp/bobics_fileserver": source => "puppet:/// modules/bobics/bobics_fileserver"} I get the error: err: /Stage[main]/Bobics/File[/tmp/bobics_fileserver]: Could not evaluate: getaddrinfo: Name or service not known Could not retrieve file metadata for puppet:///modules/bobics/bobic

Re: [Puppet Users] puppet 2.6.0 vs apache/mod_passenger

2010-08-02 Thread Russell Jackson
On 08/02/2010 10:35 AM, Christopher Johnston wrote: > Looks good from what I can tell, did you setup the config.ru? > Yep. Got the modified one for the puppetmaster -> server class rename. -- Russell A Jackson Network Analyst California State University, Bakersfield -- You received this mess

Re: [Puppet Users] puppet 2.6.0 vs apache/mod_passenger

2010-08-02 Thread Christopher Johnston
Looks good from what I can tell, did you setup the config.ru? On Mon, Aug 2, 2010 at 1:25 PM, Russell Jackson wrote: > On 08/02/2010 10:26 AM, Christopher Johnston wrote: > > Can you paste gem list? > > # gem list > > *** LOCAL GEMS *** > > actionmailer (2.3.8) > actionpack (2.3.8) > activerecor

Re: [Puppet Users] puppet 2.6.0 vs apache/mod_passenger

2010-08-02 Thread Russell Jackson
On 08/02/2010 10:26 AM, Christopher Johnston wrote: > Can you paste gem list? # gem list *** LOCAL GEMS *** actionmailer (2.3.8) actionpack (2.3.8) activerecord (2.3.8) activeresource (2.3.8) activesupport (2.3.8) fastthread (1.0.7) passenger (2.2.15) rack (1.1.0) rails (2.3.8) rake (0.8.7) ruby

Re: [Puppet Users] puppet 2.6.0 vs apache/mod_passenger

2010-08-02 Thread Christopher Johnston
Can you paste gem list? On Mon, Aug 2, 2010 at 1:17 PM, Russell Jackson wrote: > I'm having a hell of a time with mod_passenger. Where would I even begin > to investigate where this exception is coming from? My configuration > works fine with the 2.6.0 webrick server. > > > [Thu Jul 29 18:03:00

[Puppet Users] puppet 2.6.0 vs apache/mod_passenger

2010-08-02 Thread Russell Jackson
I'm having a hell of a time with mod_passenger. Where would I even begin to investigate where this exception is coming from? My configuration works fine with the 2.6.0 webrick server. > [Thu Jul 29 18:03:00 2010] [error] [client 136.168.1.4] Premature end of > script headers: preamble > [ pid=284

[Puppet Users] Re: Newbie question - package installation

2010-08-02 Thread dmangot
On Aug 2, 2:36 am, Daniel Maher wrote: > > It's not really that difficult. :) > > $ createrepo -d /path/to/files/ > > Then let an httpd serve /path/to/files/ and you're set.  I daresay it's > actually _easier_ than the other options that the OP is suggesting, > since Puppet already knows how to

Re: [Puppet Users] Bootstrap

2010-08-02 Thread Christopher Johnston
Kinda crazy. It would be better to just build a custom embedded OS (pxe boot it), then have a script that kicks off on boot-up to configure the image then the other way around. That how I handle it at my company, stateless. On Sat, Jul 31, 2010 at 5:30 AM, parag kale wrote: > Hey, > I want the

Re: [Puppet Users] Setting Augeas values using an array

2010-08-02 Thread Doug Warner
On 07/30/2010 03:52 PM, Doug Warner wrote: > On 07/29/2010 04:49 PM, Doug Warner wrote: >> I have a resource I'd like to manage via augeas (/etc/conf.d/net; it's a bash >> variables file) but I"m having problems figuring out how to set the values so >> that all of the values in the array go in. >>

Re: [Puppet Users] wrong facts going into storeconfigs, 0.25+2.6

2010-08-02 Thread Brice Figureau
Hi, On Mon, 2010-08-02 at 14:07 +0300, Jonathon Anderson wrote: > I'm re-posting this because I'm not sure that it got through the first > time. If someone could at least echo back that this is reaching the > list, I'd appreciate it. (I'm new to the list.) I don't know if your first message wen

[Puppet Users] Mulitple Configuration Files and Permissions

2010-08-02 Thread ScubaDude
Hi, I'm a puppet newbie so I don't know what the best approach is. I'm trying to write a recipe for apache, there are multiple hosts each with different configurations in the environment so I was thinking of using $hostname and having each hosts config files in a seperate directory and using t

Re: [Puppet Users] Re: Best practices on organizing modules

2010-08-02 Thread Kenneth Holter
Thank you for your reply. It was not clear to me exactly how you will be using tags - could you please elaborate? How will your "clients" and "services" areas be organized? Let me briefly mention that we're going to use external nodes to tell which environment (prod, qass, ...) a node belongs to,

[Puppet Users] Re: Multiple repositories under one file

2010-08-02 Thread CraftyTech
Very helpful Todd. Thanks. On Jul 30, 5:39 pm, Todd Zullinger wrote: > CraftyTech wrote: > > Gotcha... and I may also not mind creating multiple files under the > > repo directory, but how do I disable the default repos that come > > with CentOS? > > yumrepo { 'base': enabled => 0 } > > You can

[Puppet Users] wrong facts going into storeconfigs, 0.25+2.6

2010-08-02 Thread Jonathon Anderson
I'm re-posting this because I'm not sure that it got through the first time. If someone could at least echo back that this is reaching the list, I'd appreciate it. (I'm new to the list.) Sometimes (with variable frequency) storeconfigs stores the wrong data in the fact_values table. This has th

Re: [Puppet Users] Re: Newbie question - package installation

2010-08-02 Thread Daniel Maher
On 08/01/2010 04:45 AM, Daniel Pittman wrote: Finally, three, which is the hardest, but also the *right* answer: Create a YUM repository for your RPM packages. Configure that on your hosts. Then use YUM to install the package, rather than trying to rewrite YUM inside puppet. It's not really