[Puppet Users] managing debian alternatives

2009-09-24 Thread lluis
Hello, there any reason not to configure debian alternatives this way? file { "/etc/alternatives/java": ensure => "/usr/lib/jvm/java-6-sun/jre/bin/java"; } appart from using non-free software --~--~-~--~~~---~--~~ You received this message because you are

[Puppet Users] Re: managing debian alternatives

2009-09-24 Thread Marc Fournier
Hello, > there any reason not to configure debian alternatives this way? > > file { > "/etc/alternatives/java": > ensure => "/usr/lib/jvm/java-6-sun/jre/bin/java"; > } I do the same thing this way: exec { "update-java-alternatives --set java-6-sun": unless => 'test $(readlink /etc/alte

[Puppet Users] Puppetrun does not work with certificate error.

2009-09-24 Thread Nobuchika Tanaka
Hi. I have a trouble that puppetrun does not work, because of sslv3 certificate error. So could you tell me what I should do to make puppet work well. [Environment] Puppetmasterd -version:0.23.2 -OS:Redhat3 EL AS Puppetd -version:0.23.2 -OS:Redhat4.5 EL AS [What I did & problem detail] 1.In

[Puppet Users] Re: managing debian alternatives

2009-09-24 Thread lluis
thank you, I didn't know about update-java-alternatives El dj 24 de 09 de 2009 a les 13:01 +0200, en/na Marc Fournier va escriure: > Hello, > > > there any reason not to configure debian alternatives this way? > > > > file { > > "/etc/alternatives/java": > > ensure => "/usr/lib/jvm/java-6

[Puppet Users] Re: mailalias type: automatic rebuild of aliases.db?

2009-09-24 Thread Matthew Hyclak
On Wed, Sep 23, 2009 at 10:21 AM, John Ingersoll wrote: > HI, > > All our unix boxes under puppet are configured with the 'mailalias' resource > type as in : > > mailalias { "root": > recipient => "linuxr...@fqdn", > ensure => present > } > > The majority of those boxes

[Puppet Users] Re: puppetrun

2009-09-24 Thread Peter Meier
Hi > While running puppetrun on my master server, i receive the following > error on the client host for which puppetrun has been run: > > err: Could not retrieve catalog: Could not find terminus plain for > indirection node version? can you give the node entry? Does it work by daemon? cheers

[Puppet Users] Re: mailalias type: automatic rebuild of aliases.db?

2009-09-24 Thread John Ingersoll
On Thu, Sep 24, 2009 at 8:06 AM, Matthew Hyclak wrote: > > On Wed, Sep 23, 2009 at 10:21 AM, John Ingersoll > -snip- > We do the following: > > class mail::aliases { > file { >"/etc/aliases" : > mode => 644, > owner => "root", > group => "root", > alias => 'aliases'; >

[Puppet Users] Re: copying file from multiple sources

2009-09-24 Thread Luke Schierer
I have the following snippet I am using to test with the puppet command node host1 { file { "/var/www/target": path => "/var/www/target", mode => 570, owner => apache, group => wheel, ensure => directory, recurse => inf, sourceselect => all, source => [ "puppet://host2.

[Puppet Users] authentication issue with passenger

2009-09-24 Thread Allan Marcus
Hello, When I run puppetmasterd (0.25.1.rc1) with webrick, it works fine and my test client and connect and do everything it needs to do. When I run pappetmasterd with passenger (2.2.2) I see the following error in the log: Thu Sep 24 10:09:43 puppet-dev puppetmasterd[732] : Denying unaut

[Puppet Users] Re: authentication issue with passenger

2009-09-24 Thread Trevor Vaughan
Did you happen to turn on Apache's Cert verification? If so, you'll need to set up a puppet CA on a different port. Trevor On Thu, Sep 24, 2009 at 12:13, Allan Marcus wrote: > > Hello, > > When I run puppetmasterd (0.25.1.rc1) with webrick, it works fine and > my test client and connect and do

[Puppet Users] Re: authentication issue with passenger

2009-09-24 Thread Allan Marcus
Umm, I don't think that is the issue. I'm pretty sure this is something puppet server related. the next line reads: Thu Sep 24 12:11:31 puppet-dev puppetmasterd[1196] : Denying unauthenticated client marcusmini-a.lanl.gov(128.165.129.167) access to fileserver.list Thu Sep 24 12:11:31 puppet

[Puppet Users] Re: failing to run a script within puppet

2009-09-24 Thread Asif Iqbal
On Wed, Sep 23, 2009 at 1:50 PM, Joe McDonagh wrote: > > Asif Iqbal wrote: > > I have a perl script that runs fine manually, but fails to run by puppet > > > > Need some help with debug > > > > (root)@scseast:~# cat test.pp > > Exec { path => > > > "/usr/bin:/usr/sbin:/bin:/usr/local/bin:/usr/loca

[Puppet Users] foreman under passenger

2009-09-24 Thread Matt
Hi all, Anyone have an example on how they're running foreman under passenger. I've tried with the config.ru from foreman/vendor/rails/railties/dispatches/config.ru I can access the application fine, but when my clients try to receive the kickstart file they get a 500 error - 192.168.0.2 - - [2

[Puppet Users] Re: authentication issue with passenger

2009-09-24 Thread Allan Marcus
Ug. does anyone have any idea why my clients can connect just fine when using webrick but cannot when using passenger? this only happens with puppetmasterd 0.25.x. When the client tries to connect I see: puppetmasterd[3485] : Starting Puppet server version 0.25.1 puppetmasterd[3485] : Denyin

[Puppet Users] Format s not supported for Puppet ???

2009-09-24 Thread Allan Marcus
debug: Format s not supported for Puppet:; has not implemented method 'from_s' debug: Puppet::Network::Format[json]: false value when expecting true I still see these error messages with 0.25.1. Should I worry about these, enter bugs, or just ignore them? --- Thanks, Allan Marcus 505-6

[Puppet Users] Re: managing debian alternatives

2009-09-24 Thread Russ Allbery
lluis writes: > there any reason not to configure debian alternatives this way? > file { > "/etc/alternatives/java": > ensure => "/usr/lib/jvm/java-6-sun/jre/bin/java"; > } Yes, you won't modify any slaved alternatives, such as the man page. You should always use update-alternatives rat

[Puppet Users] Puppet client running into an error but not reporting it.

2009-09-24 Thread Tim Uckun
I have a situation where there is a problem with one of my manifests. The puppet client throws up an error but does not report. I don't get an email notification of the problem even though I have all: setting on the tagmail and I don't see any trace of a report on the syslog either. This is the o

[Puppet Users] puppet permissons

2009-09-24 Thread Aldo Foot
Today I was testing Puppet's fileserver feature and and error came up: client> /usr/sbin/puppetd --test --verbose --server puppet info: Caching catalog at /var/lib/puppet/localconfig.yaml notice: Starting catalog run notice: //Node[default]/sudo/Package[sudo]/ensure: created err: //Node[default]/

[Puppet Users] Re: foreman under passenger

2009-09-24 Thread Ohad Levy
Hi Matt, Sicne foreman is a rails app, you dont need the config.ru (its only rack applications which require it). if you have passenger enabled somehwere in you apache conf, all you need is something like: ServerName foreman.mydomain DocumentRoot /var/rails/foreman/public/ Cheers, Ohad

[Puppet Users] Re: Puppet client running into an error but not reporting it.

2009-09-24 Thread Ohad Levy
Assuming that the client breaks (e.g. stops its run), the best way you could indicate that something is wrong, is by seeing that the client did not send a report. you can also parse the client log files, but I usually get a notification (or see it in Foreman) when a client did not send a report in

[Puppet Users] Re: puppet permissons

2009-09-24 Thread Ohad Levy
in simple words, if you want the puppetmaster to be able to send the files to its client, it needs to be able to read the file ;) Ohad On Fri, Sep 25, 2009 at 7:47 AM, Aldo Foot wrote: > > Today I was testing Puppet's fileserver feature and and error came up: > > client> /usr/sbin/puppetd --tes

[Puppet Users] Re: puppetrun

2009-09-24 Thread lovewadhwa
Hi I got it working right.Seem to be problem in the puppet configuration file where i have used # to comment a line.Worked after i removed the commented line. On Sep 24, 5:43 pm, Peter Meier wrote: > Hi > > > While running puppetrun on my master server, i receive the following > > error on the

[Puppet Users] ANNOUNCE: Facter 1.5.7 available!

2009-09-24 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Facter 1.5.7 is available. This is a maintenance release containing a number of fixes, updates and additional tests. The vast majority of the work in the release was done by Paul Nasrat. Thanks to Paul for his exceptional work here! You can get th

[Puppet Users] Re: failing to run a script within puppet

2009-09-24 Thread David Schmitt
Asif Iqbal wrote: > > > On Wed, Sep 23, 2009 at 1:50 PM, Joe McDonagh > mailto:joseph.e.mcdon...@gmail.com>> wrote: > > > Asif Iqbal wrote: > > I have a perl script that runs fine manually, but fails to run by > puppet Asif, have you actually seen the question from Joe? > Do