[Puppet Users] Re: 0.25, REE, ruby-shadow

2010-05-20 Thread Ken
Every body does it now and then - hehehe :-). Its a shame we need to use different interpreters to get things working in the first place really. Lets hope in time this ruby deployment fiasco becomes cleaner. ken. On May 20, 1:07 am, Chad Huneycutt chad.huneyc...@gmail.com wrote: Thanks for

Re: [Puppet Users] Using a set of recipes to build stuff from source...

2010-05-20 Thread Dan Carley
On 19 May 2010 21:17, Peter Berghold salty.cowd...@gmail.com wrote: I thought that as well, but didn't really want to just yet. If I go that route I guess it will mean I'll have to get around to doing something I've been putting off.. I've been planning to build a custom yum repository but

Re: [Puppet Users] 0.25, REE, ruby-shadow

2010-05-20 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 So I just upgraded my master from 0.24.8 to 0.25.4. Apparently there is some bug with the EPEL version of rails that results in mysql too many connections with stored configs, so I just bailed from the packaged stuff and went to a standalone

Re: [Puppet Users] Run puppetd on the same as puppetmaster

2010-05-20 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/20/2010 03:03 AM, mathie wrote: Hello, I would like to manage configs for the server that is also the puppetmaster. I declare a simple node (just write out a file) and ran this: puppetd --test --graph -w 10 --server

Re: [Puppet Users] Run puppetd on the same as puppetmaster

2010-05-20 Thread Peter Berghold
I hope you are not literally using puppet.example.com On May 19, 2010 9:13 PM, mathie adsp...@gmail.com wrote: Hello, I would like to manage configs for the server that is also the puppetmaster. I declare a simple node (just write out a file) and ran this: puppetd --test --graph -w 10 --server

[Puppet Users] default client config / send client error messages to server log

2010-05-20 Thread Patrick
We would like to roll out several clients with puppet. I want to make sure that the clients can run a long time (~years) without requiring me to login. Reason: It would be hard to get access to this machines as they are far away from my site. The clients would also not always be connected to

[Puppet Users] Re: Six Puppet Questions

2010-05-20 Thread atom
On May 19, 6:05 pm, Arnaud Gomes-do-Vale arnaud.go...@ircam.fr wrote: Hi, Matt Juszczak m...@atopia.net writes: * Nagios: What are people doing to add hosts/services to nagios where some hosts AREN'T puppet hosts?  For instance, deprecated hosts that were spun up prior to puppet (we won't

[Puppet Users] Augeas in puppet behaves differently than augtool?

2010-05-20 Thread Tim Stoop
Hi all, I'm trying to do fairly simple stuff with augeas, like: augeas { cronapt - mailon: context = /files/etc/cron-apt/config, changes = set MAILON upgrade, onlyif = match MAILON != ['upgrade'], } This works if I try it from the commandline: t...@puppet-test.db:~$ sudo augtool augtool

[Puppet Users] Re: Is there a way to pass options to rpm provider of package resource?

2010-05-20 Thread DWIM
Hi Ken On May 19, 6:23 pm, Ken k...@bob.sh wrote: As a complete diversion from your issue - I ended up moving away from NRPE in the end and used distributed nagios servers on each box. This was purely for scaling reasons due to NRPE tests holding up resources on the server. A Nagios server

[Puppet Users] Re: Is there a way to pass options to rpm provider of package resource?

2010-05-20 Thread Ken
A Nagios server on each monitored host? And this should scale better than NRPE? I really cannot believe that this is the intended usage. This kind of seems to reverse the usual Nagios monitoring from a mainly polling to an entirely pushing scheme. I so far only monitor abt. 400 hosts from

Re: [Puppet Users] Augeas in puppet behaves differently than augtool?

2010-05-20 Thread Patrick
On May 20, 2010, at 6:10 AM, Tim Stoop wrote: Hi all, I'm trying to do fairly simple stuff with augeas, like: augeas { cronapt - mailon: context = /files/etc/cron-apt/config, changes = set MAILON upgrade, onlyif = match MAILON != ['upgrade'], } This works if I try it from the

Re: [Puppet Users] default client config / send client error messages to server log

2010-05-20 Thread Patrick
On May 20, 2010, at 5:56 AM, Patrick wrote: We would like to roll out several clients with puppet. I want to make sure that the clients can run a long time (~years) without requiring me to login. Reason: It would be hard to get access to this machines as they are far away from my site. The

[Puppet Users] Re: Management of MySQL grant tables?

2010-05-20 Thread jb
I've setup something where I put a grants file in the data directory of each database: remotefile {$db_datadir/grants: mode = 500, source = db/$db_name/data/grants, require = File[${db_datadir}], notify = Exec[refresh_${db_name}] } this

[Puppet Users] Re: Augeas in puppet behaves differently than augtool?

2010-05-20 Thread Tim Stoop
On 20 mei, 17:26, Patrick kc7...@gmail.com wrote: What are you trying to do with the onlyif?  If that works in augtool, and that's what you want, just remove the onlyif. Without the onlyif, I'm still getting the error: debug: Augeas[dummy - cron-apt change mailon](provider=augeas): Opening

[Puppet Users] Symbolic Links not Followed Outside Partition?

2010-05-20 Thread SkaDan
Ok, I've got a repository of configuration files I use for my Linux environment and would like to leverage this with Puppet (instead of having dupes in my /module/*/files folder). So, I've put symbolic links in the files folder pointing to the actual config file. I'm receiving a Failed to retrieve

[Puppet Users] wildcard node names

2010-05-20 Thread Jon Charette
I'd like to setup node templates for a variety of developer VMs that we are looking to manage through puppet. This may be in the documentation already, and if so, I apologize for missing it, but is it possible to use wildcards within the node definition. I'd like to do something like this:

[Puppet Users] Question about templates from variables

2010-05-20 Thread James Cammarata
I'm running into an issue trying to do something like the following: class test { file {test: content = template('mytemplate1','mytemplate2'), } } class test::test2 inherits test { File[test] { content + template('mytemplate3'), } } So, basically I want the inherited class to tack on

Re: [Puppet Users] Re: Six Puppet Questions

2010-05-20 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 While I haven't used them (yet?), there are a few modules available on github that provide the ability to declare unmanaged hosts. Here's an example, but not the only one: http://github.com/duritong/puppet-nagios where [1] is the much newer

Re: [Puppet Users] Re: External Nodes

2010-05-20 Thread Douglas Garstang
On Fri, May 14, 2010 at 1:38 PM, Paul Lathrop paul.lath...@gmail.com wrote: 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

Re: [Puppet Users] wildcard node names

2010-05-20 Thread Craig Miskell
Jon Charette wrote: I'd like to setup node templates for a variety of developer VMs that we are looking to manage through puppet. This may be in the documentation already, and if so, I apologize for missing it, but is it possible to use wildcards within the node definition. Yes, it is. --

[Puppet Users] Re: wildcard node names

2010-05-20 Thread Ken Barber
Regular expressions - even better: http://docs.puppetlabs.com/guides/language_tutorial.html#matching_nodes_with_regular_expressions Also - what you probably want to look at is using classes for your 'templates': http://docs.puppetlabs.com/guides/language_tutorial.html#classes ken. On May 20,

Re: [Puppet Users] Re: Augeas in puppet behaves differently than augtool?

2010-05-20 Thread Patrick
On May 20, 2010, at 11:36 AM, Tim Stoop wrote: On 20 mei, 17:26, Patrick kc7...@gmail.com wrote: What are you trying to do with the onlyif? If that works in augtool, and that's what you want, just remove the onlyif. Without the onlyif, I'm still getting the error: debug:

Re: [Puppet Users] Re: External Nodes

2010-05-20 Thread Steven VanDevender
Douglas Garstang writes: On Fri, May 14, 2010 at 1:38 PM, Paul Lathrop paul.lath...@gmail.com wrote: 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

Re: [Puppet Users] Re: External Nodes

2010-05-20 Thread Douglas Garstang
On Thu, May 20, 2010 at 2:18 PM, Steven VanDevender ste...@uoregon.edu wrote: Douglas Garstang writes:   On Fri, May 14, 2010 at 1:38 PM, Paul Lathrop paul.lath...@gmail.com wrote:   You are getting a bunch of misguided answers to this. I'm also   perplexed by your assertion that external

Re: [Puppet Users] Re: External Nodes

2010-05-20 Thread Steven VanDevender
Douglas Garstang writes: classes: [ Puppet class names go here ] parameters: { arbitrary variable=value settings go here } So if you need different Apache versions on two different nodes, your node classifier could supply this for node1: classes: [ apache-server ]

Re: [Puppet Users] Re: wildcard node names

2010-05-20 Thread Jon Charette
exactly what I needed. Thanks much Ken. On Thu, May 20, 2010 at 5:02 PM, Ken Barber k...@bob.sh wrote: Regular expressions - even better: http://docs.puppetlabs.com/guides/language_tutorial.html#matching_nodes_with_regular_expressions Also - what you probably want to look at is using

Re: [Puppet Users] Re: External Nodes

2010-05-20 Thread Paul Lathrop
In this situation, the problem you need to address isn't Puppet, it's your infrastructure. The infrastructure you describe is going to be nuts to manage no matter what set of tools you are trying to use. It doesn't make the tools deficient. Basically, if you build your house on a swamp, don't

Re: [Puppet Users] Re: is anyone using a tool to diagram their manifests?

2010-05-20 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 21/05/10 1:44 PM, windowsrefund wrote: Thanks for the tip. I never knew about this feature. I can see how this might be useful but I'm looking for something that shows the relationship of classes and defines rather than the resources that