Re: [Puppet Users] Puppet Labs Announces Puppet Forge, a Central Repository for Puppet Modules

2010-05-27 Thread Paul Lathrop
Haha! So much for my purchase of puppetstrings.net! I guess I can scrap the crappy code I had put together, too. :-P --Paul On Thu, May 27, 2010 at 6:56 AM, Scott Olson wrote: > Details and links to the Puppet Forge can be found here: > > http://www.puppetlabs.com/blog/puppet-labs-announces-pup

Re: [Puppet Users] More External Nodes

2010-05-20 Thread Paul Lathrop
If you don't see a use, don't use the feature. However, when you have an issue and people suggest external nodes is the answer, you might consider listening. -Paul On Thursday, May 20, 2010, Douglas Garstang wrote: > I'm really just not getting the whole point of external nodes. The > more I loo

Re: [Puppet Users] Re: External Nodes

2010-05-20 Thread Paul Lathrop
a swamp, don't complain that there are no building materiels that you can use to keep your house from sinking. --Paul On Thu, May 20, 2010 at 2:35 PM, Douglas Garstang wrote: > On Thu, May 20, 2010 at 2:18 PM, Steven VanDevender > wrote: >> Douglas Garstang writes: >>  &

Re: [Puppet Users] Six Puppet Questions

2010-05-19 Thread Paul Lathrop
Comments inline: On Tue, May 18, 2010 at 3:01 PM, Matt Juszczak wrote: > 4) Failover: What are people doing these days for puppet failover?  My gut > says to keep the configs in SVN, and always have another host on stand by. > However, there's an issue with that: the puppet nodes wouldn't be able

Re: [Puppet Users] Negative requires

2010-05-17 Thread Paul Lathrop
Hi Tim, What you want is this: package { "mysql": ensure => absent, before => Package["MySQL-client-community"]; } package { "MySQL-client-community": ensure => installed;} On Mon, May 17, 2010 at 9:35 PM, Tim Nicholas wrote: > Hello everyone, > > > I'm just getting to grips with Puppet so apol

Re: [Puppet Users] Have I found a bug with variables in nodes?

2010-05-14 Thread Paul Lathrop
>>> Assuming the client has puppeted at least once against that server. This >>> won't work for bootstrapping a client though will it? >> >> it does, the facts yaml file is created before the external node >> classifier is called ;) > > Whoa. This should be called out in the external node docs, as

Re: [Puppet Users] Re: External Nodes

2010-05-14 Thread Paul Lathrop
You are getting a bunch of misguided answers to this. I'm also perplexed by your assertion that external nodes requires you to write custom scripts to parse node manifests. No, you cannot put resources directly into nodes when you are using external nodes. In practice, this hasn't mattered; you wr

Re: [Puppet Users] puppet-module-apache

2010-05-11 Thread Paul Lathrop
On Tue, May 11, 2010 at 7:33 PM, Daniel Pittman wrote: > Paul Lathrop writes: > >> I've open-sources Digg's apache module: >> http://github.com/plathrop/puppet-module-apache >> >> I know this isn't much more advanced than what I've seen a lot o

Re: [Puppet Users] puppet-module-apache

2010-05-11 Thread Paul Lathrop
Did Isaac just volunteer to be the canary for CentOS/RHEL/Fedora? Seriously, I will integrate these various modules, including bringing in any distribution-specific stuff I can find, but I don't have any experience with the CentOS, etc. family of distributions. Related, though, is the concept tha

Re: [Puppet Users] puppet-module-apache

2010-05-11 Thread Paul Lathrop
I'll even do the integration work, just link me to your module and I'll try to integrate its feature set into mine. On Tue, May 11, 2010 at 5:17 PM, Nigel Kersten wrote: > On Tue, May 11, 2010 at 5:15 PM, Paul Lathrop wrote: >> Hey all, >> >> I've open-s

[Puppet Users] puppet-module-apache

2010-05-11 Thread Paul Lathrop
Hey all, I've open-sources Digg's apache module: http://github.com/plathrop/puppet-module-apache I know this isn't much more advanced than what I've seen a lot of people using. Here's my proposition, though. Let's get all the disparate "apache" modules out there merged together into One Awesome M

[Puppet Users] Cassandra Module

2010-04-20 Thread Paul Lathrop
Hey Guys, I am also happy to announce the availability of our Cassandra module: http://github.com/plathrop/libpuppet-cassandra This is a pretty simple module, and won't get you 100% of the way to building a Cassandra cluster, but it should take care of the low-level stuff so you can focus on buil

[Puppet Users] Re: Supervisor Module

2010-04-20 Thread Paul Lathrop
My Debian packager just corrected me; we didn't package supervisor, we just back-ported it for Lenny. On Tue, Apr 20, 2010 at 3:41 PM, Paul Lathrop wrote: > Hey all, > > I am happy to announce the release of the supervisor module > (http://github.com/plathrop/libpuppet-sup

[Puppet Users] Supervisor Module

2010-04-20 Thread Paul Lathrop
://mirrors.digg.com ; this module is the perfect accompaniment. As usual, criticism and contributions are welcome! Regards, Paul Lathrop -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@google

Re: [Puppet Users] Re: Can I specify the order classes are run?

2010-04-18 Thread Paul Lathrop
On Sun, Apr 18, 2010 at 12:03 PM, Mr Gabriel wrote: > Thank you for your answer, I thought this was the case, I coudn't see > any mechanism to control the order. There specifically IS a mechanism to control ordering. 'before', 'require', 'subscribe', and 'notify' are metaparameters which specify

[Puppet Users] Apt Module

2010-04-12 Thread Paul Lathrop
For you debian users out there: Digg has allowed me to release our apt module as open-source. It's simple, but we find it useful. Contributions and criticisms welcome: http://github.com/plathrop/libpuppet-apt Enjoy! -- You received this message because you are subscribed to the Google Groups

Re: [Puppet Users] File Size

2010-04-08 Thread Paul Lathrop
On Thu, Apr 8, 2010 at 10:45 AM, Thomas Bellman wrote: > Dan Bode wrote: > >> I would prefer if puppet ran the sync. It would be nice to receive puppet >> events for any changes made via rsync (essentially reports of which files >> change, this would require that it is implemented in ruby). >> >>

Re: [Puppet Users] REST API for puppet

2010-03-30 Thread Paul Lathrop
It does exist! Sadly, the documentation is the code, as far as I've been able to determine. You can get a fair amount of information if you are using a webserver like Apache in front of puppetmasterd by watching your access logs. --Paul On Tue, Mar 30, 2010 at 3:13 PM, Gustavo Soares wrote: > H

Re: [Puppet Users] Behavior of Environments -- Bug?

2010-03-22 Thread Paul Lathrop
specify an environment, it is totally sane/correct to pass out the "production" manifests. However, if the client specifies an environment the server doesn't know about, isn't it at least worth warning about? --Paul On Mon, Mar 22, 2010 at 11:50 AM, Scott Smith wrote: > On 3/2

Re: [Puppet Users] Behavior of Environments -- Bug?

2010-03-22 Thread Paul Lathrop
    modulepath = /opt/puppet/testing/modules > > [development] >     manifest = /opt/puppet/development/site.pp >     modulepath = /opt/puppet/development/modules > > > On Mon, Mar 22, 2010 at 10:27 AM, Paul Lathrop > wrote: >> >> Over the weekend we noticed an in

[Puppet Users] Behavior of Environments -- Bug?

2010-03-22 Thread Paul Lathrop
Over the weekend we noticed an interesting and unexpected behavior with environments. I made a change to the way our puppet.conf file is generated and distributed, which led to an environment which had been defined on a puppetmaster being no longer defined in puppet.conf. We'll call this the "core"

Re: [Puppet Users] Re: external classifier not calling class

2010-03-04 Thread Paul Lathrop
In case anyone is looking at this, Asif and I spent some time in #puppet talking about this and we've eliminated: * formatting of the YAML (whitespace, etc.) * missing "environment:" parameter in YAML (doesn't appear to be required) --Paul On Thu, Mar 4, 2010 at 10:08 AM, Asif Iqbal wrote: > st

Re: [Puppet Users] ssh_authorized_key - same key, different accounts?

2010-03-02 Thread Paul Lathrop
On Mon, Mar 1, 2010 at 9:13 AM, Marc Fournier wrote: > Paul: why do you think ssh_authorized_key is terrible ? Do you think > the behaviour should be different ? 1) Lots of intermittent bugs that are hard to reproduce, harder to track down, and yet at scale show up often enough to cause problems.

[Puppet Users] The Foreman & Mailing List Topics

2010-03-02 Thread Paul Lathrop
Hey guys, I'm really glad tools like the Foreman exist and are part of the Puppet ecosystem, but I don't use it and I'd kinda like to keep the Puppet list about... Puppet. Sorry to be the jerk here, but doesn't the Foreman have it's own mailing list? Thanks, Paul -- You received this message be

[Puppet Users] Finding the source of errors

2010-02-26 Thread Paul Lathrop
Hello, How are people locating the host that is having problems? Is everyone getting reports via email? I'm only using store, log and unfortunately the log messages don't identify the source host (I haven't investigated the stored reports yet). Curious how others are solving this problem. --Paul

Re: [Puppet Users] ssh_authorized_key - same key, different accounts?

2010-02-26 Thread Paul Lathrop
On Fri, Feb 26, 2010 at 11:58 AM, Alan Sparks wrote: > Puppet 0.24.8... I am trying to use ssh_authorized_key to create > passwordless logins for a couple of accounts.  The important thing to > note is I'm trying to get the source ("r...@somehost" below) as part of > the key, and the same key need

Re: [Puppet Users] Module Execution Order

2009-11-30 Thread Paul Lathrop
m afraid to touch it now, for fear of what will break." Refactoring is in order. Let me know if I can clarify any of this. --Paul Lathrop On Mon, Nov 30, 2009 at 4:08 PM, Michael T. Halligan wrote: > I think what Doug is trying to ask is, how the hell do we make sure that > resources get

Re: [Puppet Users] Weird puppet/foreman behavior

2009-11-25 Thread Paul Lathrop
You are probably running passenger version 2.2.5 - I ran into this problem as well. See the thread "Serious issue with 0.25.1, at wits end" for the solution. On Wed, Nov 25, 2009 at 2:26 AM, Martin Englund wrote: > I've setup my puppetmaster with passenger & foreman (using external > nodes), and

[Puppet Users] Re: SSL Makes My Brain Bleed

2009-11-25 Thread Paul Lathrop
On Fri, Nov 6, 2009 at 4:49 PM, Paul Lathrop wrote: > Hi guys, > > Really could use some help with the way Puppet uses SSL. In my > environment, I need to have 2 puppetmasters. One of them is > responsible for passing out configurations to production machines, the > second one

[Puppet Users] Checksum Behavior Change

2009-11-13 Thread Paul Lathrop
Hiya, Since upgrading our puppetmaster to 0.25.1, we've noticed a behavior change which is causing us some problems, and I'm not sure if it is expected behavior. We have the following resource definition (inside of a define): file { "/var/lib/mysql/extdbfiles/$name": owner => mysql

[Puppet Users] Re: Multihomed puppet-server Multidomain SSL Problem

2009-11-13 Thread Paul Lathrop
On Fri, Nov 13, 2009 at 6:40 AM, Hubert Krause wrote: > > Hello List, > > I have a problem with the CA on my Puppetmaster. This Puppetmaster is > connected to different Networks with different sub domainnames. The Puppet > clients connecting via different Interfaces. There is no routing between >

[Puppet Users] Re: SSL Makes My Brain Bleed

2009-11-10 Thread Paul Lathrop
Hi Dan, I'm not upgrading, I'm installing a server from scratch. I want to upgrade just my puppetmaster and leave the clients alone for now, because Puppet is a huge part of our infrastructure I can't do it all in one pass. I can get a single puppetmaster up and running. I cannot then get a seco

[Puppet Users] Re: SSL Makes My Brain Bleed

2009-11-10 Thread Paul Lathrop
Dan, This looked like exactly what I needed, but I couldn't get this to work either. I'm at my wits end and have given up completely on the upgrade to 0.25.1 at this point. I will now go pester my boss to buy support. --Paul On Fri, Nov 6, 2009 at 9:38 PM, Dan Bode wrote: > Hi Paul,, > > I ju

[Puppet Users] Serious issue with 0.25.1, at wits end

2009-11-04 Thread Paul Lathrop
Hi guys, I'm attempting to move forward with our upgrade to 0.25.1, but today I hit a show-stopper. When running 0.25.1 behind Passenger I'm seeing the following behavior. I'll start up apache+passenger+puppetmasterd fresh, and run puppetd -t on a client. The *next* client I run will attempt to

[Puppet Users] Re: authentication issue with passenger (resolved)

2009-11-04 Thread Paul Lathrop
How did you resolve this? I'm having this problem now. On Mon, Sep 28, 2009 at 9:16 AM, Allan Marcus wrote: > > I think I have it working now. > > --- > Thanks, > > Allan Marcus > 505-667-5666 > > > > On Sep 28, 2009, at 10:13 AM, Allan Marcus wrote: > >> yes, I have all those settings. Attached

[Puppet Users] Re: Best Practices Rewrite - First Draft

2009-10-24 Thread Paul Lathrop
On Fri, Oct 23, 2009 at 2:22 PM, Digant C Kasundra wrote: > > >> If anyone feels up to grabbing this document and running with it, >> please feel free. > > As the original author, I suppose I should take over.  Can you send me what > you had? It's available at the links I originally posted. --

[Puppet Users] Re: Object Dependancies

2009-10-24 Thread Paul Lathrop
On Sat, Oct 24, 2009 at 12:42 AM, Douglas Garstang wrote: > I've been putting a lot of puppet pieces together over the last few > days, and I've realised, I think, that you _REALLY_ need to be > explicit with your object dependancies. It looks like puppet just > drags all modules, all nodes, and

[Puppet Users] Re: BUG? $name inside a definition 'method signature' different to within a body ?

2009-10-24 Thread Paul Lathrop
On Sat, Oct 24, 2009 at 3:29 AM, Dick Davies wrote: > > If I have something like this: > > > > define bar($thing="/tmp/$name") { >  file { $thing: ensure => present } > } > > > class foo {  somedef{ "bar": } } > > >

[Puppet Users] Re: genconf generated config aborts

2009-10-13 Thread Paul Lathrop
On Tue, Oct 13, 2009 at 11:03 AM, Douglas Garstang wrote: > > Please don't strip it out. The documentation is terrible and this at > least gives me a known good working config. Douglas, You misunderstand. Nigel and I are saying the generated config should be known to *work*; it shouldn't have g

[Puppet Users] Re: genconf generated config aborts

2009-10-13 Thread Paul Lathrop
On Tue, Oct 13, 2009 at 9:58 AM, Nigel Kersten wrote: > I've often wondered about the utility of having that in the generated > config file, and it's bitten me several times. > > Is there a reason we don't strip it out? +1 --Paul --~--~-~--~~~---~--~~ You receiv

[Puppet Users] Re: genconf generated config aborts

2009-10-13 Thread Paul Lathrop
Doug, Remove genconfig = true from the puppet.conf file --Paul On Tue, Oct 13, 2009 at 9:51 AM, Douglas Garstang wrote: > > When I run puppetmasterd with the --genconfig option and use that as > my starting puppet.conf file, puppetmasterd dumps the full config to > the screen and then aborts.

[Puppet Users] Re: Best Practices Rewrite - First Draft

2009-10-12 Thread Paul Lathrop
On Mon, Oct 12, 2009 at 5:09 AM, Jean Spirat wrote: > > Julian Simpson a écrit : >> I swear people who use Puppet are more fertile.  Congratulations, Paul! >> >> Julian. >> > this is just that they do not let chaos do the job even in biology, all > is managed in a central repository secured by ss

[Puppet Users] Re: Best Practices Rewrite - First Draft

2009-10-11 Thread Paul Lathrop
. If anyone feels up to grabbing this document and running with it, please feel free. Regards, Paul Lathrop --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send

[Puppet Users] Re: puppet SYN flood

2009-10-06 Thread Paul Lathrop
On Tue, Oct 6, 2009 at 2:10 PM, Pete Emerson wrote: > > I'm seeing this in my logs: > > kernel: possible SYN flooding on port 8140. Sending cookies. > Could not call fileserver.describe: # reset by peer> > > I'm running 0.24 with webrick, and have approximately 180 hosts under it. Respectfully..

[Puppet Users] Re: Puppet support

2009-10-05 Thread Paul Lathrop
On Mon, Oct 5, 2009 at 3:55 PM, Allan Marcus wrote: > > I'm working on a support contract with Reductive for puppet support. > My purchasing dept needs to find out if there are any other sources > for paid expert support of puppet? Anyone know of any? > > This is a check the box exercise, I know,

[Puppet Users] Re: Best Practices Rewrite - First Draft

2009-09-16 Thread Paul Lathrop
Hi guys, As Peter points out, this thread is old. Sorry I dropped the ball, I plan on integrating feedback and getting this updated this weekend. --Paul On Wed, Sep 16, 2009 at 6:40 AM, Peter Meier wrote: > > Hi > > so I took again a look a this rather old thread, as I tried to implement > thi

[Puppet Users] Re: Puppet Camp codefest prelude

2009-09-16 Thread Paul Lathrop
On Sun, Sep 13, 2009 at 10:04 AM, Nigel Kersten wrote: > I live here down in the South Bay, so happy to meet up whenever really. s/South/East/g :-) --Paul --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet U

[Puppet Users] Re: Puppetmaster be client of another puppetmaster?

2009-09-09 Thread Paul Lathrop
On Wed, Sep 9, 2009 at 11:47 AM, Keith Edmunds wrote: > > On Wed, 9 Sep 2009 11:33:21 -0700, paul.lath...@gmail.com said: > >> The development >> puppetmaster (puppet.dev.internal) has server = puppet.prod.internal >> in it's puppet.conf, while the machines that point to the development >> puppetm

[Puppet Users] Re: Puppetmaster be client of another puppetmaster?

2009-09-09 Thread Paul Lathrop
Wow, the other respondents made this somewhat complicated. I do this right now. Our "development" puppetmaster handles a bunch of machines, but it itself is managed by our "production" puppetmaster. We didn't do all this certificate juggling. The development puppetmaster (puppet.dev.internal) ha

[Puppet Users] Re: restart puppetmaster when files change

2009-09-03 Thread Paul Lathrop
Yes. On Wed, Sep 2, 2009 at 6:51 PM, ELTigre wrote: > > Do you mean if any of init.pp files of any module change, puppetmaster > gets the change and reload? > > regards, > Israel. > > On Sep 1, 12:31 pm, Paul Lathrop wrote: >> Why would you want to do this? puppe

[Puppet Users] Re: scheduling refresh when set to noop

2009-09-02 Thread Paul Lathrop
Dan, Note that the next line says: "Would have triggered refresh from 1 dependencies" --Paul On Wed, Sep 2, 2009 at 3:55 AM, Dan Bode wrote: > Hi all, > > I have encountered some that I dont quite understand. > > I am trying to parse log messages to create summaries, and I have seen an > event

[Puppet Users] Re: restart puppetmaster when files change

2009-09-01 Thread Paul Lathrop
Why would you want to do this? puppetmaster will notice changes to these files without needing to be restarted. --Paul On Sun, Aug 30, 2009 at 11:34 AM, ELTigre wrote: > > I create this class pmaster in order to restart puppetmaster daemon > after /etc/puppet/puppet.conf  file change. > > class

[Puppet Users] Re: arrays, loops, etc

2009-07-30 Thread Paul Lathrop
On Thu, Jul 30, 2009 at 1:05 PM, seph wrote: > I am aware of the whole declarative vs. procedural thing. I do still > have some trouble with it, though I think fewer problems than my first > email implied. > > In my case, I declare a keystore. It has parameters like owner, group, > and mode. I'd l

[Puppet Users] Re: Best Practices Rewrite - First Draft

2009-07-30 Thread Paul Lathrop
Thanks for all the feedback everyone. I'll be working on a second draft and getting it up on the wiki soon! --Paul On Thu, Jul 23, 2009 at 1:06 AM, David Schmitt wrote: > > Paul Lathrop wrote: >> Hi Puppeteers, >> >> I spent some time tonight making a f

[Puppet Users] Re: arrays, loops, etc

2009-07-30 Thread Paul Lathrop
seph, You are making a couple of classic mistakes here. For one, thinking of definitions as "functions" can only end in tears. Definitions are just ways of abstracting a collection of resources into a single resource. The second mistake you make is in thinking procedurally. Puppet's model is decl

[Puppet Users] Best Practices Rewrite - First Draft

2009-07-23 Thread Paul Lathrop
Hi Puppeteers, I spent some time tonight making a first pass at what I hope will eventually be a good replacement for the current "Puppet Best Practices" page on the wiki. I know this needs *tons of work, but I hit a good pausing point and decided it was time to ask for feedback and contributions

[Puppet Users] Re: Vexed by puppet.conf

2009-07-21 Thread Paul Lathrop
accidentally get >> used. >> >> The only thing I can think of is that maybe the server name gets >> cached somewhere else other than config - and maybe it isn't being >> cleaned out when the config is being re-read... I can understand there >> being a server

[Puppet Users] Re: Resource ordering

2009-07-20 Thread Paul Lathrop
On Fri, Jul 17, 2009 at 6:08 AM, Burkholder, Peter wrote: > > I just finished listening to the Configuration Management panel from > OSBridge (on blip.tv). > > Near the end of it, Adam Jacob states that Puppet's resource dependency > ordering is non-deterministic, > and that manifests that work fi

[Puppet Users] Vexed by puppet.conf

2009-07-10 Thread Paul Lathrop
Dear Puppeteers, I'm in desperate need of help. Here's the story: When I boot up new machines, they have a default puppet.conf which causes them to talk to our production puppetmaster at puppet.digg.internal. Some of these machines are destined for our development environment, and there is a cus

[Puppet Users] Re: subscribe implies require?

2009-06-18 Thread Paul Lathrop
Dan, You are correct: subscribe is a superset of require, and notify is a superset of before. --Paul On Thu, Jun 18, 2009 at 7:42 AM, Dan Bode wrote: > I noticed in that many of the modules in lab42 have resources that use > require and subscribe for the same resource. > > Doesn't subscribe imp

[Puppet Users] Re: Puppet Camp Oct 1-2 at SFSU

2009-06-12 Thread Paul Lathrop
On Fri, Jun 12, 2009 at 12:15 AM, David Schmitt wrote: > Yes, something I forgot to mention: I'm totally open to other people > interested in this project to join, commit, and maintain their modules. > > > Regards, DavidS I'll be glad to join this effort. How do I add myself to the project? --Pa

[Puppet Users] Re: Moving to new puppetmaster - certificates

2009-06-10 Thread Paul Lathrop
On Wed, Jun 10, 2009 at 9:16 AM, Jason Antman wrote: > > Unfortunately I haven't been able to find anything in the docs... > > I just built a new puppetmaster to replace my testing install on an old > box. The hostname is different, and obviously the master certificates > are different. What need

[Puppet Users] Re: Using custom facts for the first time

2009-05-28 Thread Paul Lathrop
Paul, A custom fact is probably the wrong way to implement this, actually, unless you have servers in multiple locations where the day of the week differs from server to server. Custom facts are intended for information that can only be computed at the client end. For something like the day of t

[Puppet Users] Re: File contents into a variable (once it exists)

2009-05-18 Thread Paul Lathrop
Simon, It seems like you are trying to work with puppet as though it were a procedural language, not a declarative one. You should try to think of a way of expressing your user abstraction in terms of declarative statements instead of as a series of steps. If you must do a series of steps, you mi

[Puppet Users] Re: long catalog run times and random connection timeouts

2009-05-04 Thread Paul Lathrop
On Mon, May 4, 2009 at 7:55 AM, Michael Conigliaro wrote: > > I'm actually not sure. How do I determine that? I just use the redhat > rpms from the epel repository, and I don't remember seeing an option for > that anywhere. If you aren't sure what you are using, you are using webrick. The proble

[Puppet Users] Re: Puppet Camp

2009-04-20 Thread Paul Lathrop
On Sun, Apr 19, 2009 at 12:23 PM, Andrew Shafer wrote: > We are organizing a Puppet mini conf. Yay! > The time frame is Septemberish, but no locations or dates are set, which is > essentially the point of this email. > > For locations, I'm proposing Salt Lake City, UT, Portland, OR, or somewher

[Puppet Users] Re: CA different than hostname?

2009-04-20 Thread Paul Lathrop
On 4/20/09, seph wrote: > The first, is a design question. Since I expect to eventually have > multiple puppetmaster servers, I'd like to name this one to be named > puppet1.example.com. But I'd like my clients to connect via a cname as > puppet.example.com. Is this pretty standard? Is there some

[Puppet Users] Re: Puppet and pushing changes

2009-04-09 Thread Paul Lathrop
On Thu, Apr 9, 2009 at 11:03 AM, Kyle Cordes wrote: > Luke Kanies wrote: >> In the meantime, it's easy enough to skip the daemon mode. > > Maybe I'll do that next time I repackage a new version. > > (Or maybe, and this is a dream rather than a request, the good folks > working on the official Deb

[Puppet Users] Re: Licensing and Copyright

2009-04-06 Thread Paul Lathrop
On Mon, Apr 6, 2009 at 12:15 PM, Luke Kanies wrote: > > Hi all, > > I fear this discussion will quickly devolve into a recursive flame- > fest, but it needs to be broached, so here we go.  Note that I kind of > think this is more of dev topic than users, but I want to make sure > everyone knows t

[Puppet Users] Re: A simple function to load external class attributes

2009-04-06 Thread Paul Lathrop
+1, this idea is doused in awesome sauce. On Mon, Mar 30, 2009 at 7:38 PM, Luke Kanies wrote: > Hi all, > > We at Reductive Labs keep running into clients who need something like > an attribute class - that is, for a given module, they want a single > class that handles all of the variable setti

[Puppet Users] Re: error just trying to use puppetmasterd.conf

2009-03-18 Thread Paul Lathrop
believe is 0.24.7 at the moment. Regards, Paul Lathrop On Wed, Mar 18, 2009 at 8:09 AM, Jonathan Mills wrote: > > Situation:  I have a new puppet install that I'm learning how to use. > Puppetmasterd runs fine when there are no explicitly defined > puppetmasterd directives in any

[Puppet Users] Re: puppetmaster stops responding to some clients?

2009-03-12 Thread Paul Lathrop
Daniel, Yep, you've hit the scaling wall. You need to check out http://reductivelabs.com/trac/puppet/wiki/UsingMongrel and switch to Mongrel sooner rather than later :-) --Paul On Thu, Mar 12, 2009 at 6:06 PM, Daniel Pittman wrote: > > Paul Lathrop writes: > >> I

[Puppet Users] Re: puppetmaster stops responding to some clients?

2009-03-12 Thread Paul Lathrop
Daniel, I started seeing these symptoms when my puppetmaster was overloaded with more clients than Webrick could handle. Are you running Webrick or something else? --Paul On Wed, Mar 11, 2009 at 11:17 PM, Daniel Pittman wrote: > > G'day. > > We are running into a regular problem, which I can't

[Puppet Users] Re: Community: How to deal with attempts at sabotage

2009-03-06 Thread Paul Lathrop
On Thu, Mar 5, 2009 at 10:27 PM, Andrew Shafer wrote: > > The voice of reason has mostly prevailed in my opinion, which is the > sentiment that the right approach is not to worry. > > Trying to be as objective as possible, AJ has contributed to the Puppet > community. He has submitted patches, tr

[Puppet Users] Re: Community: How to deal with attempts at sabotage

2009-03-05 Thread Paul Lathrop
On Wed, Mar 4, 2009 at 1:32 PM, Luke Kanies wrote: > Hi all, > > The underlying assumption of membership in any community is that your > participation is at worst neutral, and if possible positive. > Communities, online or off, generally do what they can to protect > themselves from detrimental i

[Puppet Users] Re: genmanifest question

2009-03-05 Thread Paul Lathrop
Kevin, You misunderstand; --genmanifest generates the resources needed to run Puppet itself. You probably want to look into the 'ralsh' command. --Paul On Thu, Mar 5, 2009 at 9:01 AM, kevin wrote: > > Hi all, > > puppet --genmanifest : > > Should this not introspect all the packages on my sys

[Puppet Users] Re: Could not request certificate -> big logs, full /var, failure

2009-02-26 Thread Paul Lathrop
On Thu, Feb 26, 2009 at 9:58 AM, Kyle Cordes wrote: > I heartily agree; what I am looking at is the difference between: > > a) it is possible to type "sudo rm -rf /" > > b) making rm default to a path of "/" and default -r -f options ON, and > include it in sudoers by default. > > > Obviously B i

[Puppet Users] Re: Could not request certificate -> big logs, full /var, failure

2009-02-26 Thread Paul Lathrop
On Thu, Feb 26, 2009 at 9:38 AM, Mike Renfro wrote: > > On 2/26/2009 11:14 AM, Paul Lathrop wrote: >> On Thu, Feb 26, 2009 at 8:49 AM, Kyle Cordes wrote: >>> I am sure there is a good use for some aspect of the -w 0 feature; the >>> part I don't think there i

[Puppet Users] Re: Could not request certificate -> big logs, full /var, failure

2009-02-26 Thread Paul Lathrop
On Thu, Feb 26, 2009 at 8:49 AM, Kyle Cordes wrote: > I am sure there is a good use for some aspect of the -w 0 feature; the > part I don't think there is a good use for, is writing 70,000 entries > per minute to syslog, or for trying to connect in a tight loop for 12 > hours.  I am sure there is

[Puppet Users] Re: Could not request certificate -> big logs, full /var, failure

2009-02-26 Thread Paul Lathrop
On Thu, Feb 26, 2009 at 6:58 AM, Kyle Cordes wrote: > Ouch. This seems like: > > a) a really awful choice for the Debian / Ub packages Yep. > b) a feature that Puppet would be much better off without. > > > I can't imagine a compelling use case for a "pound on the server > continuously" setting

[Puppet Users] Re: Managing a symlink

2009-02-22 Thread Paul Lathrop
The first route was the correct route. What you are seeing isn't an error, it is an informative message to let you know you are doing something that people often do accidentally. You can ignore it and go on your merry way. --Paul On Fri, Feb 20, 2009 at 4:43 AM, Keith Edmunds wrote: > > I have

[Puppet Users] Re: Lock file /var/lib/puppet/state/puppetdlock

2009-02-17 Thread Paul Lathrop
On Mon, Feb 16, 2009 at 7:39 PM, Luke Kanies wrote: > Otherwise I've no idea, because you're the first to run into it > that I know of. > > Note that you should be able to run 'puppetd --enable' to remove that > stale lock file. I periodically run into this issue as well; it only happens on

[Puppet Users] Re: basic question about template conditionals

2009-02-11 Thread Paul Lathrop
Michael, Templates are ERB, which uses pure ruby. I think what you are doing should work in concept, thought I think your syntax is a bit off. --Paul On Wed, Feb 11, 2009 at 10:36 AM, Michael Conigliaro wrote: > > Hello, > > Sorry if this ends up getting posted twice. I originally sent this >

[Puppet Users] Re: Am I the only one with lots of problems with puppet?

2009-02-11 Thread Paul Lathrop
ne resource at a time. I think if you step back and start from a reasonably clean slate you will have a more positive experience. Regards, Paul Lathrop On Wed, Feb 11, 2009 at 10:25 AM, Arnau Bria wrote: > > Hi all, > > I'm facing many problems for last days with my puppet server

[Puppet Users] Re: Definitions, Classes, and Nodes; Oh My!

2009-02-11 Thread Paul Lathrop
t;eval" which lookup for the value in the > scope and do something like: > webapp-instance{$countries: > database => eval(db_ip_${country}) > } > > But this is a hack. What is the correct way to do this ? > > > > On 02/10/2009 10:08 AM, Paul La

[Puppet Users] Re: Definitions, Classes, and Nodes; Oh My!

2009-02-10 Thread Paul Lathrop
tivelabs.com/trac/puppet/wiki/Recipes/HandlingDisparateDefinesWithClasses > and linked it from the external nodes intro. Thanks Paul > > Brian > > On Tue, Feb 10, 2009 at 1:08 AM, Paul Lathrop wrote: >> >> Nicolas, >> >> I split this thread since we are

[Puppet Users] Definitions, Classes, and Nodes; Oh My!

2009-02-10 Thread Paul Lathrop
Nicolas, I split this thread since we aren't talking about Kinial anymore. I think you misunderstood me; I certainly wouldn't advocate the mishmash of classes you suggest below, as you said, putting the definition "calls" (I use "declarations", and will in the rest of this email) in the node sta

[Puppet Users] Re: compiled catalog for $HOST time

2009-02-09 Thread Paul Lathrop
Are you using stored configs? On Mon, Feb 9, 2009 at 2:54 AM, Arnau Bria wrote: > > Hi, > > anyone could explain why every time that puppet compiles a catalog for a > host, its compilation time increases? > > Hosts share same "type", so, from my understanding, compiling catalog > time should dec

[Puppet Users] Re: what about kinial ?

2009-02-09 Thread Paul Lathrop
On Mon, Feb 9, 2009 at 9:24 AM, nicolas wrote: > > >> >> Maybe there is something I missed about definitions. I though it was >> a notion related to the notion of a class. >> I'm confused too, because your answer make me think that you >> consider definition call like resources. Is it the cas

[Puppet Users] Re: Puppet Proposal (what problems will puppet solve)

2009-02-03 Thread Paul Lathrop
Zach, Some thoughts inline: On Mon, Feb 2, 2009 at 12:53 PM, Zach Buckholz wrote: > > This may sound like a confusing / trick question, so please bare with me. > > What problem(s) will puppet solve? Why would I use it? What problems do you want to solve? Seriously, if you don't have a solid a

[Puppet Users] Re: Question about Recipe LDAPClientNSSwitch ?

2009-02-03 Thread Paul Lathrop
Xavier, It *is* a wiki. That means you should feel free to make these kind of changes: "A wiki is a page or collection of Web pages designed to enable anyone who accesses it to contribute or modify content" (http://en.wikipedia.org/wiki/Wiki). The more community members who choose to do this, the

[Puppet Users] Re: Facter - the future - your input needed

2009-02-01 Thread Paul Lathrop
I don't think that belongs in facter; it belongs in the fact itself. Just my .02 --Paul On Sat, Jan 31, 2009 at 11:18 PM, Sam Rowe wrote: > > Oh and one other thing about 'facter.d' it'd be cool if there was some > way to say that a given fact (or set of facts) is cache-able. Perhaps > your fa

[Puppet Users] Re: Notifying a service when config file changes

2009-01-23 Thread Paul Lathrop
On Fri, Jan 23, 2009 at 4:35 AM, Kenneth Holter wrote: > service {syslog: >ensure => running, >subscribe => Line["rsyslogserver"] > } > > line { "rsyslogserver": > file => "/etc/syslog.conf", > line => "*.* @server1.example.com", > ensure => present > notify => Service

[Puppet Users] Re: Get list of all nodes

2009-01-06 Thread Paul Lathrop
On Tue, Jan 6, 2009 at 9:50 AM, John Philips wrote: > Thanks, that did the trick. Well, almost. The hostnames are in quotation > marks so I piped it to yet another program for the final touch. > > grep ^node site.pp | sed -e 's/^node //' | awk -F, '{for(i=1;i<=NF;i++) > {print $i}}' | cut -d

[Puppet Users] Re: Get list of all nodes

2009-01-06 Thread Paul Lathrop
Use LDAP. I couldn't resist. :-P In all seriousness, though, grep is still your friend. He's brought a couple new friends to the table to help you with this problem; their names are "sed" and "awk". With the example below, this should give you what you want: grep ^node site.pp | sed -e 's/^nod

[Puppet Users] Re: puppetd

2008-12-29 Thread Paul Lathrop
What version of Puppet are you using? --Paul On Tue, Dec 23, 2008 at 11:59 PM, Paul Johnson wrote: > Thanks for replies, here is the info. Actually there is not much in configs, > I tried it with minimal manifest and the issue still persists. > > manifest: >

[Puppet Users] Re: local and ldap users and packages

2008-12-29 Thread Paul Lathrop
Use classes and inheritance. What I would do is something like this: class base-node { @package { "sudo": ensure => installed; "sudo-ldap": ensure => installed; } @user { # Obviously fully define your user here. "bob": ensure => present; } } class ldap-n

[Puppet Users] Re: Using an Exec inside a define

2008-12-29 Thread Paul Lathrop
Hmm, I suspect that documentation is wrong. I've never successfully had multiple Exec resources with the same name. I say file a bug, at the worst someone will verify/clarify the documentation. I tend to use "module_name::define_name::$name" as my naming convention for this sort of thing. That u

[Puppet Users] Re: support for upstart

2008-12-18 Thread Paul Lathrop
On Thu, Dec 18, 2008 at 6:00 AM, John Florian wrote: > I'm not sure I'm up to developing this myself just yet as I'm very new > to puppet and haven't done any ruby thus far. I was about to create a > feature request, but then realized what you were saying about adding > upstart as a provider to

[Puppet Users] Re: Having issues getting environments working.

2008-12-10 Thread Paul Lathrop
ptions I > want in each enveonment. Shame the environment stuff showed promise. > > Thanks for your help! > > --- > Simon Coggins > Senior Systems Engineer > System Services > CQUniversity, Bruce HWY > Rockhampton, QLD, 4701, Australia > Phone: 07 49232778 > Mobile: 04

  1   2   >