Re: [Puppet Users] Foreman summary mail

2009-12-22 Thread LOhit
Hello Ohad, I have added some CSS to summary.erb file. And added *content "text/html" to "host_mailer.rb". This seems to be working fine. And Outlook seems to be happy. I tried pasting the resulting HTML in W3C website and it passed without any errors.* **I am attaching the file "summary.erb" fil

Re: [Puppet Users] Downgrade package via yum

2009-12-22 Thread Matthew Hyclak
On Tue, Dec 22, 2009 at 1:36 AM, Tony G. wrote: > Thanks for the comments Silviu, here what I found: > > I ran: > /usr/sbin/puppetd -vdt --fqdn `hostname` --environment=development --test > > This is the excerpt of the output: > debug: > //Node[puppetclient.example.com]/common/common::nagios/Packa

Re: [Puppet Users] Downgrade package via yum

2009-12-22 Thread R.I.Pienaar
hello, - "Matthew Hyclak" wrote: > > Wish I'll be wrong, but seems like I won't be able to downgrade > packages via yum. > > Downgrade via yum is done by a plugin that comes with some caveats > (like how do you "downgrade" a post script that creates a user in > version 2, but not in version

Re: [Puppet Users] Downgrade package via yum

2009-12-22 Thread Matthew Hyclak
On Tue, Dec 22, 2009 at 6:50 AM, R.I.Pienaar wrote: > hello, > > - "Matthew Hyclak" wrote: > >> > Wish I'll be wrong, but seems like I won't be able to downgrade >> packages via yum. >> >> Downgrade via yum is done by a plugin that comes with some caveats >> (like how do you "downgrade" a pos

[Puppet Users] using 'define': modelling a file-like construction.

2009-12-22 Thread Daniel Pittman
G'day. I sometimes want to write a 'define' that wraps some higher level behaviour around a low level 'file' statement, akin to this: define example ($source = false, $content = false) { file { "/path/to/whatever/${name}": ensure => file, source => $source, content => $content,

Re: [Puppet Users] using 'define': modelling a file-like construction.

2009-12-22 Thread R.I.Pienaar
hello, You can use the ability to set defaults for resources: define mfile($content = undef, $source = undef) { if $content { File[$name] { content => $content } } else { File[$name] {

Re: [Puppet Users] puppet, mongel, nginx and new nodes

2009-12-22 Thread Silviu Paragina
On 22.12.2009 06:34, Matthew Delves wrote: >> Sounds like mongrel or nginx might be generating an error message. Try >> pointing a web browser at https://:8140 and see if you get >> anything helpful. >> > The error I get is: > > Peer's certificate has an invalid signature. > > It would seem

[Puppet Users] Re: Downgrade package via yum

2009-12-22 Thread jcbollinger
On Dec 22, 12:36 am, "Tony G." wrote: > Running it manually I got: > > 1. /usr/bin/yum -d 0 -e 0 -y install nrpe_custom-01.1-10 > Package matching nrpe_custom-01.1-10.x86_64 already installed. Checking for > update. > > Which is not true, but for some reason yum "believes" it is already > instal

Re: [Puppet Users] Re: Facter 1.5.7 and operatingsystemrelease

2009-12-22 Thread Kenton Brede
On Tue, Oct 20, 2009 at 8:45 PM, Ohad Levy wrote: > Hi, > > I for one, thinks that the operatingsystemrelease fact should contain only > the major number of the operating system, e.g. for Centos/Rehat 5.4 it > should return just 5. > > the reason behind it is that I rarely use the full release ver

Re: [Puppet Users] per environment tagmail settings?

2009-12-22 Thread Joe McDonagh
JL wrote: > Is it possible to disable tagmail reports for one environment but not > another? For example, when I run 'puppetd --test -- > environment=testing', I do not want to receive an email. I tried > adding "!testing" to to tagmail.conf, but that didn't work. > > Alternatively, I would like

[Puppet Users] Announcing Puppet dashboard 0.2.0 Release

2009-12-22 Thread Rein Henrichs
Greetings Puppeteers, I'm pleased to announce the immediate release of Puppet Dashboard 0.2.0, codenamed Satria. You know why. Major new features in this release are a rake task for importing report YAML files into the Dashboard and a sample External Node script. See the README for more informati

Re: [Puppet Users] puppet, mongel, nginx and new nodes

2009-12-22 Thread Matthew Delves
> Why aren't you using passenger? afaik it works with nginx too? Just my 2 > cents My preference is for nginx over apache. I already have nginx hosting foreman on the same box so configuration is straight forward rather than having apache installed as well. Still no solution received on the p

[Puppet Users] puppet and sles 11 node

2009-12-22 Thread Matthew Delves
Hey All, I seem to be getting errors when running puppet under sles 11. The first weird issue I'm seeing is that the node information isn't being sent through to puppet correctly as It doesn't pick up the $operatingsystem variable correctly and instead relies on the default setting. The puppet v

[Puppet Users] Re: monitoring puppet

2009-12-22 Thread Adam Gibbins
via nagios: /usr/lib/nagios/plugins/check_file_age -f /var/lib/puppet/state/ state.yaml -w 5400 -c 7200 On Dec 17, 4:34 am, "Sukh Khehra" wrote: > Hi, > > I was wondering what people out there are doing to monitor puppetd in > large environments. I'd love to hear what the best practices are aroun

[Puppet Users] Announcing Puppet Dashboard 0.2.1 Release, codenamed "Whoops!"

2009-12-22 Thread Rein Henrichs
Greeting Puppeteers, It turns out that Rails REALLY DOES NOT LIKE resource uris that include a '.', requiring an immediate patch to get nodes with dots in their fqdn (which, basically, is all of them) to work properly. My bad. Bugfix release 0.2.1 is available from the download link (because I rem

Re: [Puppet Users] Re: Facter 1.5.7 and operatingsystemrelease

2009-12-22 Thread Len Rugen
I posted a question about the lsb prefixed facts a few weeks ago. lsbmaj may be what you're looking for. On Tue, Dec 22, 2009 at 9:17 AM, Kenton Brede wrote: > On Tue, Oct 20, 2009 at 8:45 PM, Ohad Levy wrote: > > Hi, > > > > I for one, thinks that the operatingsystemrelease fact should con

Re: [Puppet Users] puppet, mongel, nginx and new nodes

2009-12-22 Thread Scott Smith
Matthew Delves wrote: >> Why aren't you using passenger? afaik it works with nginx too? Just my 2 >> cents > > My preference is for nginx over apache. I already have nginx hosting foreman > on the same box so configuration is straight forward rather than having > apache installed as well. > P

Re: [Puppet Users] using 'define': modelling a file-like construction.

2009-12-22 Thread Trevor Vaughan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm not sure if this will work as I haven't tested it, but try setting source and content to 'undef' (no quotes) instead of false. Trevor On 12/22/2009 08:00 AM, Daniel Pittman wrote: > G'day. > > I sometimes want to write a 'define' that wraps some

Re: [Puppet Users] puppet, mongel, nginx and new nodes

2009-12-22 Thread Matthew Delves
> Passenger does not require Apache. Do you have a link to an article that explains how that is? The documentation on the puppet/reductivelabs website http://reductivelabs.com/trac/puppet/wiki/UsingPassenger shows a use of apache. Thanks, Matt Delves -- You received this message because you a

Re: [Puppet Users] puppet, mongel, nginx and new nodes

2009-12-22 Thread Scott Smith
Matthew Delves wrote: >> Passenger does not require Apache. > > Do you have a link to an article that explains how that is? > http://www.modrails.com/ -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet