[Puppet Users] eggdrop-puppet-notificator

2011-08-31 Thread Alexander Fortin
Hi folks. I've just written a small plug-in for Eggdrop: https://github.com/shaftoe/eggdrop-puppet-notificator Maybe someone here is running both a puppet master and an eggdrop process on the same machine and wishes to get notified about "missing" nodes (via IRC and email). I like very much t

[Puppet Users] Re: howto make file resource purge option aware of other puppet resources managed files

2011-08-31 Thread piavlo
Hi John Thanks for pointing me to the resources purge option - i was not aware of it. However I get this error then trying it err: Failed to apply catalog: Parameter purge failed: Purging is only supported on types that accept 'ensure' at /etc/puppet/modules/yum/ manifests/init.pp:12 So I gue

Re: [Puppet Users] Re: Announce: Dashboard 1.2.0 is available now

2011-08-31 Thread Alexander Fortin
On 08/27/2011 08:07 PM, Ramin K wrote: ruby 1.8.5, released Apr 2006 ruby 1.8.7, released May 2008 ruby 1.9.2, released Oct 2010 Not exactly bleeding edge though I suppose anything released in the last four years could be considered that when compared to RHEL 5.:-) FWIW, if you think of the rel

[Puppet Users] Re: howto make file resource purge option aware of other puppet resources managed files

2011-08-31 Thread piavlo
http://projects.puppetlabs.com/issues/9277 On Aug 30, 7:48 pm, Daniel Pittman wrote: > Oh, dear.  Yes, John has it. :/ > > This is definitely a bug, and something we should fix.  Can you file a > ticket with the details, so that we don't lose track of this? > > Daniel > > > > > > > > > > On Tue,

Re: [Puppet Users] Re: Check for dead clients

2011-08-31 Thread Alexander Fortin
On 08/30/2011 03:24 PM, It Dept wrote: Hi, Can either of these methods send notifications about the problem? Or do these need to be manually checked? Hi, I've just published this TCL script for Eggdrop (an IRC bot) that does exactly that: https://github.com/shaftoe/eggdrop-puppet-notificat

Re: [Puppet Users] Need some advice: Clients that change name and IP address

2011-08-31 Thread Dan White
OK, let me try to see if I have it. Please correct any misteaks I make in this attempt. The paragraph pointed to by the link says that a certname is "...The name to use when handling certificates. Defaults to the fully qualified domain name." The top of the page also says that configuration se

Re: [Puppet Users] Check for dead clients

2011-08-31 Thread Ohad Levy
On Tue, Aug 30, 2011 at 4:12 PM, It Dept wrote: > Hello, > > Is there a built in way to get notifications about clients which have > not updated in a defined time period? > > For example, if a client is configured to poll the master every hour, > and 2 hours elapse without the client polling the m

Re: [Puppet Users] eggdrop-puppet-notificator

2011-08-31 Thread Ohad Levy
On Wed, Aug 31, 2011 at 2:17 PM, Alexander Fortin wrote: > Hi folks. > > I've just written a small plug-in for Eggdrop: > > https://github.com/shaftoe/eggdrop-puppet-notificator > > Maybe someone here is running both a puppet master and an eggdrop process on > the same machine and wishes to get no

Re: [Puppet Users] migrating to new puppet servers

2011-08-31 Thread Jonathan Gazeley
On 26/08/11 03:12, Nan Liu wrote: On Thu, Aug 25, 2011 at 1:31 PM, Roy Nielsen wrote: Hello, We need to migrate ~3000 machines to a new puppet server. What is the recommended method of doing this, considering the cert issues? Not much, just make sure you generate a cert for the new puppet m

Re: [Puppet Users] migrating to new puppet servers

2011-08-31 Thread Naresh V
On 31 August 2011 19:04, Jonathan Gazeley wrote: > On 26/08/11 03:12, Nan Liu wrote: >> >> On Thu, Aug 25, 2011 at 1:31 PM, Roy Nielsen  wrote: >>> >>> Hello, >>> >>> We need to migrate ~3000 machines to a new puppet server. >>> >>> What is the recommended method of doing this, considering the cer

[Puppet Users] Re: eggdrop-puppet-notificator

2011-08-31 Thread windowsrefund
I went a slightly different direction and wrote cinch-imap in order to view my incoming nagios alerts when I'm lurking in my internal irc channel. If anyone is interested, the bits can be found at http://rubygems.org/gems/cinch-imap Best, Adam -- You received this message because you are subscri

[Puppet Users] Re: Composing a text file with Puppet

2011-08-31 Thread jcbollinger
On Aug 30, 9:15 am, M C wrote: > Hi, > > is it possible to push a file (with "source" or "content") and then add > lines without having Puppet to regenerate it every time it runs? > And, how can I add, remove or alter text lines without keeping old contents? As I understand you, you want Puppe

Re: [Puppet Users] Need some advice: Clients that change name and IP address

2011-08-31 Thread Gary Larizza
On Wed, Aug 31, 2011 at 7:12 AM, Dan White wrote: > OK, let me try to see if I have it. Please correct any misteaks I make in > this attempt. > > The paragraph pointed to by the link says that a certname is "...The name > to use when handling certificates. Defaults to the fully qualified domain

Re: [Puppet Users] eggdrop-puppet-notificator

2011-08-31 Thread Alexander Fortin
On 08/31/2011 02:25 PM, Ohad Levy wrote: nice! any chance you would consider adding a query to foreman? easy to get that info via: curlhttp://foreman/hosts/out_of_sync?format={json,yaml} Hi Ohad! Unfortunately I've got no Foreman so no way to test it (and no real need to extend it because no

[Puppet Users] Re: howto make file resource purge option aware of other puppet resources managed files

2011-08-31 Thread jcbollinger
On Aug 31, 6:41 am, piavlo wrote: >  Hi John > > Thanks for pointing me to the resources purge option - i was not aware > of it. > > However I get this error then trying it > > err: Failed to apply catalog: Parameter purge failed: Purging is only > supported on types that accept 'ensure' at /etc

[Puppet Users] Certificate verify failed.

2011-08-31 Thread linuxbsdfreak
Hi All, I am running puppet (2.7.3) with nginx and passenger (3.0.8) and ruby-1.9.2p290. I am receiving the following error on the client when connecting to the server. info: Creating a new SSL key for hostname.domain.com err: Could not request certificate: SSL_connect returned=1 errno=0 state=

[Puppet Users] 2.7.3 and 'Could not retrieve operatingsystem'

2011-08-31 Thread Jake - USPS
Just updated to 2.7.3 from 2.6.9. That's when 'Could not retrieve operatingsystem: undefined method `+' for nil:NilClass' started popping up. It doesn't seem to be causing any real issues, but its there. hostname:/etc/puppet # puppet agent --test info: Retrieving plugin Could not retrieve operat

Re: [Puppet Users] Re: Composing a text file with Puppet

2011-08-31 Thread Brian Gallew
On Aug 31, 2011, at 6:57 AM, jcbollinger wrote: > > > On Aug 30, 9:15 am, M C wrote: >> Hi, >> >> is it possible to push a file (with "source" or "content") and then add >> lines without having Puppet to regenerate it every time it runs? >> And, how can I add, remove or alter text lines witho

[Puppet Users] Up and running with puppet

2011-08-31 Thread AJ
I am just getting started with Puppet, went through the install on a SuSE Linux (11.1) system. I wanted to use the web console but run into this error: "Ruby on Rails application could not be started" "Permission denied - /opt/puppet/share/puppet-dashboard/config/ database.yml" I've checked the pe

Re: [Puppet Users] Certificate verify failed.

2011-08-31 Thread Craig White
I would guess mis-matched names - use the fqdn puppet agent --server puppet.YOUR_DOMAIN --waitforcert 60 --test Craig On Aug 31, 2011, at 7:42 AM, linuxbsdfreak wrote: > > Hi All, > > I am running puppet (2.7.3) with nginx and passenger (3.0.8) and > ruby-1.9.2p290. I am receiving the followi

Re: buglet (with rpms from tmz) Re: [Puppet Users] Re: [Puppet-dev] ANNOUNCE: Puppet 2.6.9rc1 is available

2011-08-31 Thread Todd Zullinger
I wrote: > Chris May wrote: >> Did anyone ever post a bug, or find a solution for this? I've just >> upgraded some of our Solaris boxes (using OpenCSW) to 2.6.9 and I'm >> seeing the same behaviour. > > If there is a bug filed, I'd love to know what it is. Searching > redmine for "reports" doesn't

Re: [Puppet Users] Up and running with puppet

2011-08-31 Thread Gabriel Filion
On 11-08-31 01:15 PM, AJ wrote: > I am just getting started with Puppet, went through the install on a > SuSE Linux (11.1) system. > I wanted to use the web console but run into this error: > "Ruby on Rails application could not be started" > "Permission denied - /opt/puppet/share/puppet-dashboard/

Re: [Puppet Users] Need some advice: Clients that change name and IP address

2011-08-31 Thread Dan White
I believe I got it working ! I'm using the mac address instead of uuid as the mac address is a machine-unique value I can easily access. I will post details of my implementation (cobbler snippet tweaks and all) once I am confident I have all the details covered. "Pay it forward !!" Thanks for

[Puppet Users] Bind9 & Ubuntu Lucid

2011-08-31 Thread Craig White
Seems that every cycle, puppet thinks that bind9 service is stopped and wants to restart... info: Applying configuration version '1314822598' notice: /Stage[main]/Bind::Service/Service[bind9]/ensure: ensure changed 'stopped' to 'running' notice: Finished catalog run in 3.70 seconds But it's run

Re: [Puppet Users] Bind9 & Ubuntu Lucid

2011-08-31 Thread David Nalley
On Wed, Aug 31, 2011 at 4:43 PM, Craig White wrote: > Seems that every cycle, puppet thinks that bind9 service is stopped and wants > to restart... > > info: Applying configuration version '1314822598' > notice: /Stage[main]/Bind::Service/Service[bind9]/ensure: ensure changed > 'stopped' to 'run

[Puppet Users] Bind9 & Ubuntu Lucid

2011-08-31 Thread Steven VanDevender
Craig White writes: > Seems that every cycle, puppet thinks that bind9 service is stopped and > wants to restart... > > info: Applying configuration version '1314822598' > notice: /Stage[main]/Bind::Service/Service[bind9]/ensure: ensure changed > 'stopped' to 'running' > notice: Finished

Re: [Puppet Users] Bind9 & Ubuntu Lucid

2011-08-31 Thread Craig White
On Aug 31, 2011, at 1:55 PM, Steven VanDevender wrote: > Craig White writes: >> Seems that every cycle, puppet thinks that bind9 service is stopped and >> wants to restart... >> >> info: Applying configuration version '1314822598' >> notice: /Stage[main]/Bind::Service/Service[bind9]/ensure: ens

Re: [Puppet Users] Bind9 & Ubuntu Lucid

2011-08-31 Thread Craig White
On Aug 31, 2011, at 1:47 PM, David Nalley wrote: > On Wed, Aug 31, 2011 at 4:43 PM, Craig White wrote: >> Seems that every cycle, puppet thinks that bind9 service is stopped and >> wants to restart... >> >> info: Applying configuration version '1314822598' >> notice: /Stage[main]/Bind::Service

Re: [Puppet Users] Bind9 & Ubuntu Lucid

2011-08-31 Thread Russell Van Tassell
Just a couple odd questions... does the status return 0 or 1 when bind is running? If the process table is used, would you need a "name" parameter to differentiate the name versus the process name? And, what version of puppet? You might need a "hasstatus" in there, as well? Ref: http://docs.puppet

[Puppet Users] Module Plugin Documentation

2011-08-31 Thread Douglas Garstang
Anyone, I've read this doc several times: http://docs.puppetlabs.com/guides/plugins_in_modules.html As a whole, it really doesn't make sense. It seems pretty obvious it was written by someone with deep knowledge of the subject, but there is little context for someone like me. Is there better doc

[Puppet Users] File resource "owner" not found, only during automatic puppet runs

2011-08-31 Thread treydock
I have a file resource defined to be owned by a group that is accessible via samba/winbind (AD based group), but every time Puppet runs automatically (every 30 min) the run fails with this error , (sensitive information removed) (/Stage[main]//Node[node1.tld]/Apache::Vhost[vhost1]/File[/var/www/ v

[Puppet Users] Organizational best practices / examples

2011-08-31 Thread col yte
Hi folks, I was curious if anyone would be willing to share how they organize their puppet implementation. Perhaps something similar to what you'll find at https://fedoraproject.org/wiki/Infrastructure/Puppet. People should have this sort of stuff documented, appreciate anything anyone would be w

[Puppet Users] Multiple template fallbacks

2011-08-31 Thread Sam Morrison
Hi, In a file resource I want to be able to specify multiple template contents. If the 1st template doesn't exist use the 2nd listed and so on. Much like how the source attribute works. Basically this: file { "/tmp/somefile.txt": ensure => present, content => [