Re: [Puppet Users] Problem with Passenger

2013-11-21 Thread Marcelo Frota
Hi Felix, 

My archive config.ru is equal to the file that you spoke. 

Do you have other sugestion, for the my problem ? 

Regards
Marcelo Frota

Em quinta-feira, 21 de novembro de 2013 09h09min03s UTC-2, Felix.Frank 
escreveu:

 Hi, 

 is that config.ru from the ubuntu package? 

 It looks odd and seems to miss the vital '$0 = master' line. For 
 reference: 
 https://github.com/puppetlabs/puppet/blob/master/ext/rack/config.ru 

 HTH, 
 Felix 

 On 11/18/2013 09:52 PM, Marcelo Frota wrote: 
  I am running puppet with puppet version  3.3.2-1, apache 
  2.2.22-1ubuntu1.4 and passenger module 2.2.11debian-2. 
  
  My config.ru : 

 -- 
 MPeX.net GmbH / Werner-Vo�-Damm 62 / D-12101 Berlin / Germany 
 MPeXnetworks / www.mpexnetworks.de 
 Tel: ++49-30-78097 180 / Fax: ++49-30-78097 181 

 Sitz, Registergericht: Berlin, Amtsgericht Charlottenburg, HRB 76688 
 Gesch�ftsf�hrer: Lars Br�uer, Gregor Rex-Lawatscheck 


-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/2d2ec909-43c9-4693-97a6-5625cba8b706%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[Puppet Users] Problem with Passenger

2013-11-18 Thread Marcelo Frota
Hi. 

I am running puppet with puppet version  3.3.2-1, apache 2.2.22-1ubuntu1.4 
and passenger module 2.2.11debian-2.

I having problem with passenger module, i create the config file 
/usr/share/puppet/rack/puppetmasterd/config.ru  but 
the process master the puppet is not running . 

For what seems apache is not recognizing the file config.ru

Example in other machine running puppet version 2.6 i have the result in ps 
-aux :

puppet   16874  ***    *  *S18:24   0:00 master 
  

My config.ru : 

ARGV  --debug
ARGV  --rack

# Rack applications typically don't start as root.  Set --confdir and 
--vardir
# to prevent reading configuration from ~puppet/.puppet/puppet.conf and 
writing
# to ~puppet/.puppet
ARGV  --trace
ARGV  --vardir   /var/lib/puppet
ARGV  --config  /etc/puppet/puppet.conf

require 'puppet/util/command_line'
# we're usually running inside a Rack::Builder.new {} block,
# therefore we need to call run *here*.
run Puppet::Util::CommandLine.new.execute
#run Puppet::Application[:master].run

Permissions: 

-rwxr-xr-x 1 puppet puppet 1618 Nov 18 17:31 
/usr/share/puppet/rack/puppetmasterd/config.ru

Someone help me?

Regards,

Marcelo Frota

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/74651585-ad76-4e3b-bc91-3624f658b792%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[Puppet Users] PuppetMaster and Puppet Client in the same machine

2013-11-06 Thread Marcelo Frota
Hi Dears, 

I am installing the puppetmaster server and puppet client is running in the 
same machine.

When i running : puppet agent --test --waitforcert 30 

I received the error : 

Error: /File[/var/lib/puppet/lib]: Failed to generate additional resources 
using 'eval_generate': SSL_connect returned=1 errno=0 state=SSLv3 read 
server certificate B: certificate verify failed: [self signed certificate 
in certificate chain for /CN=Puppet CA: HOSTNAME 
Error: /File[/var/lib/puppet/lib]: Could not evaluate: SSL_connect 
returned=1 errno=0 state=SSLv3 read server certificate B: certificate 
verify failed: [self signed certificate in certificate chain for /CN=Puppet 
CA: HOSTNAME]  Could not retrieve file metadata for 
puppet://HOSTNAME/plugins: SSL_connect returned=1 errno=0 state=SSLv3 read 
server certificate B: certificate verify failed: [self signed certificate 
in certificate chain for /CN=Puppet CA: HOSTNAME]
Error: Could not retrieve catalog from remote server: SSL_connect 
returned=1 errno=0 state=SSLv3 read server certificate B: certificate 
verify failed: [self signed certificate in certificate chain for /CN=Puppet 
CA: HOSTNAME]

I was reading about the problem and it seems is related with SSL, I made 
several tests, i change de ssldir in puppet.conf to [main] ssldir  = 
/etc/puppet/ssl and [agent] ssldir = /var/lib/puppet/ssl , but is 
not corrected the problem.

Anyone seen this? Someone can Help me ? 

Thanks
Marcelo Frota

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/3da15bb6-b9c6-48d9-a0c8-f88db1c182bf%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.