Re: [Puppet Users] More External Nodes

2010-05-21 Thread Steven VanDevender
Douglas Garstang writes: On Thu, May 20, 2010 at 10:06 PM, Paul Lathrop p...@tertiusfamily.net wrote: 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, I initially

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

2010-05-21 Thread Brice Figureau
On Fri, 2010-05-21 at 02:03 -0400, Joe McDonagh wrote: On 05/21/2010 01:17 AM, James Turnbull wrote: 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

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

2010-05-21 Thread Tim Stoop
Hi Patrick, On 20 mei, 23:11, Patrick kc7...@gmail.com wrote: That's strange.  Can you post a copy of the cron-apt config file?  I'd like to play around with it and see if I get the same problem. I can, but it's so simple, I'm not even going to bother :) The default config file is everything

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

2010-05-21 Thread DWIM
Many thanks for your kind help. The nsca solution can be problematic - we wrote our own receiver/ sender and shipped stuff via snmp instead. I seem to remember a skew issue - where all nsca updates from all servers where sent on the minute (ie. zero seconds past the minute) - can't recall how

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

2010-05-21 Thread Tim Stoop
Hi all, To expand on this, I tried it from the irb: t...@puppet-test.db:~/augeas/lenses$ sudo irb irb(main):001:0 require 'augeas' = true irb(main):002:0 Augeas::open do |aug| irb(main):003:1* aug.set(/files/etc/cron-apt/config/ MAILON,upgrade) irb(main):004:1 unless aug.save irb(main):005:2

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

2010-05-21 Thread Tim Stoop
Hi all, Okay, I found it, but I cannot explain what's happening here. Hope someone else can. I was adding a load_patch with value /usr/local/share/augeas/lenses. When I add that, I get the error. If I leave it out, it works. However, I have no idea how Augeas knows that it should be searching /

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

2010-05-21 Thread Tim Stoop
Hi all, Finally found my problem. Apparantly, the default shellvars.aug lens already includes the config to make it apply to /etc/cron-apt/config. When I added my cronapt.aug custom lens, there was a clash of two lenses telling augeas they were applicable on the same file. So, PEBKAC. Apologies

[Puppet Users] puppetmaster can't find nodes in LDAP

2010-05-21 Thread Dave Augustus
I have moved my node defs from files to LDAP but puppetmaster can't find them. I am using puppet 25.4-1.el5 with 389 ldap server and I have configured puppetmaster to use LDAP all running on Centos 5.4 x86_64. Here is the strange part: The LDAP logs show the connection from puppetmaster. The

[Puppet Users] Looking for Puppet consultant in Boston, MA area

2010-05-21 Thread Matt Shields
Are there any Puppet consultants in the Boston, MA area? We're looking to hire someone for a short-term contract to convert our existing network. Basic stats: - All servers to be converted are CentOS 5 - about 300 servers (real and vm) - about 25-30 unique server types (web, db, etc) - 4

[Puppet Users] Package A or Package B?

2010-05-21 Thread Aaron C. de Bruyn
I can't seem to find any information on being able to require one package OR another. I have some existing systems that have postfix, and others that use msmtp. How can I specify that either postfix OR msmtp be installed? -A -- You received this message because you are subscribed to the

Re: [Puppet Users] More External Nodes

2010-05-21 Thread David Schmitt
On 5/21/2010 5:33 PM, Ashley Penney wrote: As as an example for what I do in nodes.pp and what is hard for me to do is things like this: node hlslinutil1.law.harvard.edu { $ip = 10.241.209.118 $broadcast = 10.241.209.255 $netmask = 255.255.255.0 $network = 10.241.209.0

[Puppet Users] Ralsh output is not consistent

2010-05-21 Thread Matt Wallace
Hi, I'm using Ralsh to audit our existing systems and I've run into a strange issues with the output. Compare the examples below taken from two separate servers and spot the difference: Server 1 user { 'root': ensure = 'present', comment = 'root', shell = '/bin/bash',

Re: [Puppet Users] Re: More External Nodes

2010-05-21 Thread Douglas Garstang
On Fri, May 21, 2010 at 1:15 AM, Ken Barber k...@bob.sh wrote: Douglas - what you are trying to do isn't supported in say 0.25.x without compromising. I think the discussion regarding you using external nodes is a waste of time - I'd rather divert the conversation instead talk about what you

Re: [Puppet Users] More External Nodes

2010-05-21 Thread Douglas Garstang
On Fri, May 21, 2010 at 5:45 AM, Atha Kouroussis akourous...@gmail.com wrote: On May 21, 2010, at 02:16 , Douglas Garstang wrote: On Thu, May 20, 2010 at 10:06 PM, Paul Lathrop p...@tertiusfamily.net wrote: If you don't see a use, don't use the feature. However, when you have an issue and

Re: [Puppet Users] Re: More External Nodes

2010-05-21 Thread Nigel Kersten
On Fri, May 21, 2010 at 8:56 AM, Douglas Garstang doug.garst...@gmail.comwrote: On Fri, May 21, 2010 at 1:15 AM, Ken Barber k...@bob.sh wrote: Douglas - what you are trying to do isn't supported in say 0.25.x without compromising. I think the discussion regarding you using external nodes

Re: [Puppet Users] Package A or Package B?

2010-05-21 Thread David Schmitt
On 5/21/2010 5:39 PM, Aaron C. de Bruyn wrote: I can't seem to find any information on being able to require one package OR another. I have some existing systems that have postfix, and others that use msmtp. How can I specify that either postfix OR msmtp be installed? $mta = # postfix or

Re: [Puppet Users] Re: More External Nodes

2010-05-21 Thread David Schmitt
On 5/21/2010 5:56 PM, Douglas Garstang wrote: On Fri, May 21, 2010 at 1:15 AM, Ken Barberk...@bob.sh wrote: Douglas - what you are trying to do isn't supported in say 0.25.x without compromising. I think the discussion regarding you using external nodes is a waste of time - I'd rather divert

Re: [Puppet Users] Re: More External Nodes

2010-05-21 Thread Douglas Garstang
On Fri, May 21, 2010 at 9:07 AM, Nigel Kersten nig...@google.com wrote: On Fri, May 21, 2010 at 8:56 AM, Douglas Garstang doug.garst...@gmail.com wrote: On Fri, May 21, 2010 at 1:15 AM, Ken Barber k...@bob.sh wrote: Douglas - what you are trying to do isn't supported in say 0.25.x

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

2010-05-21 Thread Trevor Vaughan
I've got some code at home that I think does what you want. I'll try to find time to dust it off over the weekend and post it to the list (no promises though). Trevor On Thu, May 20, 2010 at 10:34 PM, windowsrefund windowsref...@gmail.com wrote: Despite taking great care to keep my manifests

Re: [Puppet Users] Re: More External Nodes

2010-05-21 Thread Nigel Kersten
On Fri, May 21, 2010 at 9:22 AM, Douglas Garstang doug.garst...@gmail.comwrote: On Fri, May 21, 2010 at 9:07 AM, Nigel Kersten nig...@google.com wrote: On Fri, May 21, 2010 at 8:56 AM, Douglas Garstang doug.garst...@gmail.com wrote: On Fri, May 21, 2010 at 1:15 AM, Ken Barber

Re: [Puppet Users] Re: More External Nodes

2010-05-21 Thread R.I.Pienaar
- Nigel Kersten nig...@google.com wrote: Is something like extlookup what you're really looking for? http://code.google.com/p/extlookup/ You have a bunch of parameters per host that you wish to be able to update programmatically, so you put all of this into an external data file

Re: [Puppet Users] Re: More External Nodes

2010-05-21 Thread Douglas Garstang
On Fri, May 21, 2010 at 9:40 AM, R.I.Pienaar r...@devco.net wrote: - Nigel Kersten nig...@google.com wrote: Is something like extlookup what you're really looking for? http://code.google.com/p/extlookup/ You have a bunch of parameters per host that you wish to be able to update

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

2010-05-21 Thread windowsrefund
I'll try to find time to dust it off over the weekend and post it to the list (no promises though). Trevor Thank you very much. Looking forward to checking that out. -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group,

Re: [Puppet Users] Ralsh output is not consistent

2010-05-21 Thread Christian Kauhaus
Am 21.05.2010 17:53, schrieb Matt Wallace: The issue I've got is that because comment and ensure are on different lines on the two servers, I'm having real issues picking up the differences between the servers because diff just shows hundreds of lines that do not match across the two files.

[Puppet Users] SSH service not getting restarted

2010-05-21 Thread takrishnan
Hi, I have this in my sshdconfig module's init.pp but the service is not getting restarted even though at first connect the file sshd_config is getting modified with the Banner entry. Can someone please help? class sshdconfig { file { /etc/ssh/sshd_config: path

[Puppet Users] Replace some text

2010-05-21 Thread Marley Bacelar
I need to replace some text in a file... there is some type, that i can pass a value and to be replace and the destination file? or anyone here have some class who does that? -- Marley Bacelar Project Fedora Ambassador VCP, VSP. VTSP., ITILF, IBM 000-076, IBM 000-330, IBM 000-331

Re: [Puppet Users] Re: More External Nodes

2010-05-21 Thread Atha Kouroussis
On May 21, 2010, at 13:50 , Douglas Garstang wrote: On Fri, May 21, 2010 at 9:40 AM, R.I.Pienaar r...@devco.net wrote: - Nigel Kersten nig...@google.com wrote: Is something like extlookup what you're really looking for? http://code.google.com/p/extlookup/ You have a bunch of

Re: [Puppet Users] SSH service not getting restarted

2010-05-21 Thread Patrick
On May 21, 2010, at 11:23 AM, takrishnan wrote: Hi, I have this in my sshdconfig module's init.pp but the service is not getting restarted even though at first connect the file sshd_config is getting modified with the Banner entry. Can someone please help? class sshdconfig {

Re: [Puppet Users] Replace some text

2010-05-21 Thread Patrick
You might want to check out Augeas. It might be easier to use. I've seen a simple define that does that, but I can't find it. It had a grep statement in unless, and used sed to make the change. A much more complicated example can be found at

Re: [Puppet Users] Replace some text

2010-05-21 Thread Daniel Pittman
Marley Bacelar marleybace...@gmail.com writes: I need to replace some text in a file... there is some type, that i can pass a value and to be replace and the destination file? I know this sounds like a great idea, but decades of experience with puppet and proceeding tools tell us that editing

Re: [Puppet Users] Replace some text

2010-05-21 Thread Nigel Kersten
On Fri, May 21, 2010 at 6:08 PM, Daniel Pittman dan...@rimspace.net wrote: Marley Bacelar marleybace...@gmail.com writes: I need to replace some text in a file... there is some type, that i can pass a value and to be replace and the destination file? I know this sounds like a great idea,

Re: [Puppet Users] puppetmaster can't find nodes in LDAP

2010-05-21 Thread Andrew Heagle
On May 21, 2010 08:51:59 am Dave Augustus wrote: I have moved my node defs from files to LDAP but puppetmaster can't find them. I am using puppet 25.4-1.el5 with 389 ldap server and I have configured puppetmaster to use LDAP all running on Centos 5.4 x86_64. Here is the strange part:

Re: [Puppet Users] puppetmaster can't find nodes in LDAP

2010-05-21 Thread Dave Augustus
On May 21, 2010, at 8:26 PM, Andrew Heagle and...@logaan.com wrote: On May 21, 2010 08:51:59 am Dave Augustus wrote: I have moved my node defs from files to LDAP but puppetmaster can't find them. I am using puppet 25.4-1.el5 with 389 ldap server and I have configured puppetmaster to

[Puppet Users] getting started with puppet: overriding roles

2010-05-21 Thread andreash
hi there, i'm not sure as to how to call the subject of this post, as i'm totally new to puppet -- so please forgive me if this is misleading ... for my servers, i'm planning to do something like this (pseudo-code): class (?) base-config: include ntp::client include resolver ...

Re: [Puppet Users] getting started with puppet: overriding roles

2010-05-21 Thread Daniel Pittman
andreash hilb...@gmail.com writes: i'm not sure as to how to call the subject of this post, as i'm totally new to puppet -- so please forgive me if this is misleading ... for my servers, i'm planning to do something like this (pseudo-code): class (?) base-config: include ntp::client

[Puppet Users] parsing puppet YAML

2010-05-21 Thread Baker, Luke Jefferson
Hey there, I've playing with parsing some of the yaml data that puppet creates. Has anyone had luck doing this with python or the like? It seems that in every yaml file, there is a comment at the top of the file like this.. --- !ruby/object:Puppet::Node Which doesn't make may yaml parsers

[Puppet Users] Portland Puppet Users Group

2010-05-21 Thread Cody Herriges
Next meeting of the Portland Puppet Users Group will be held on June 8th at 7PM in Portland, Oregon, Downtown. We are going to kick back talk Puppet and explore the Puppet Dashboard. Further details can be found at http://calagator.org/events/1250458707. --Cody -- You received this