# /etc/httpd/conf.d/passenger.conf LoadModule passenger_module modules/mod_passenger.so <IfModule mod_passenger.c> PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-3.0.12 PassengerRuby /usr/bin/ruby #PassengerTempDir /var/run/rubygem-passenger PassengerHighPerformance on PassengerUseGlobalQueue on PassengerMaxPoolSize 15 PassengerPoolIdleTime 150 PassengerMaxRequests 10000 PassengerStatThrottleRate 120 RackAutoDetect Off RailsAutoDetect Off </IfModule>
[Sat Jun 09 04:06:47 2012] [notice] caught SIGTERM, shutting down [Sat Jun 09 09:06:51 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Sat Jun 09 09:06:51 2012] [notice] Digest: generating secret for digest authentication ... [Sat Jun 09 09:06:51 2012] [notice] Digest: done [Sat Jun 09 09:06:51 2012] [notice] Apache/2.2.15 (Unix) DAV/2 Phusion_Passenger/3.0.12 mod_ssl/2.2.15 OpenSSL/1.0.0-fips configured -- resuming normal operations
----------- General information ----------- max = 15 count = 0 active = 0 inactive = 0 Waiting on global queue: 0 ----------- Application groups -----------
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/bFZpBN-6YugJ.
To post to this group, send email to puppet...@googlegroups.com.
To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
# /etc/httpd/conf.d/puppetmaster.conf
Listen 8086
<VirtualHost sdas.dnsdynamic.com:8086>
SSLEngine on
SSLProtocol -ALL +SSLv3 +TLSv1
SSLCipherSuite ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:-LOW:-SSLv2:-EXP
SSLCertificateFile /var/lib/puppet/ssl/certs/sdas.dnsdynamic.com.pem
SSLCertificateKeyFile /var/lib/puppet/ssl/private_keys/sdas.dnsdynamic.com.pem
SSLCertificateChainFile /var/lib/puppet/ssl/ca/ca_crt.pem
SSLCACertificateFile /var/lib/puppet/ssl/ca/ca_crt.pem
# If Apache complains about invalid signatures on the CRL, you can try disabling
# CRL checking by commenting the next line, but this is not recommended.
SSLCARevocationFile /var/lib/puppet/ssl/ca/ca_crl.pem
SSLVerifyClient optional
SSLVerifyDepth 1
SSLOptions +StdEnvVars
DocumentRoot /etc/puppet/rack/public
RackBaseURI /
<Directory "/etc/puppet/rack/public">
Options None
AllowOverride None
Order allow,deny
allow from all
</Directory>
LogLevel warn
ErrorLog /var/log/httpd/puppetm_error.log
CustomLog /var/log/httpd/puppetm_access.log combined
</VirtualHost>
# /etc/httpd/conf.d/passenger.conf
LoadModule passenger_module modules/mod_passenger.so
<IfModule mod_passenger.c>
PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-3.0.12
PassengerRuby /usr/bin/ruby
#PassengerTempDir /var/run/rubygem-passenger
PassengerHighPerformance on
PassengerUseGlobalQueue on
PassengerMaxPoolSize 15
PassengerPoolIdleTime 150
PassengerMaxRequests 10000
PassengerStatThrottleRate 120
RackAutoDetect on
RailsAutoDetect on
</IfModule>
> puppet-users+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To post to this group, send email to puppet...@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-users+unsubscribe@googlegroups.com.
Yes, I do have puppetmaster-vost.conf and I've separated the passenger config file. So, this is what I have:
(snip)
The only difference, what I can see, with Jeff is that I'm running Puppet on port 8086. This port is also allowed in the iptables. Any thing else should I check?
## cat /etc/puppet/rack/config.ru
# a config.ru, for use with every rack-compatible webserver.
# SSL needs to be handled outside this, though.
# if puppet is not in your RUBYLIB:
# $:.unshift('/opt/puppet/lib')
$0 = "master"
# if you want debugging:
ARGV << "--debug"
# ARGV << "--trace"
ARGV << "--rack"
require 'puppet/application/master'
# we're usually running inside a Rack::Builder.new {} block,
# therefore we need to call run *here*.
run Puppet::Application[:master].run
# therefore we need to call run *here*.
run Puppet::Application[:master].run
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/So7egVCZkHgJ.
To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
Hi San,Do you still have your httpd puppet master vhost listening on the non standard port? That is fine, as long as you configure your clients like has been mentioned before. Puppet clients will try to reach port 8140 unless you specify otherwise.
In your config.ru you can see how passenger calls the puppet master application:You don't need to have the webrick puppet master running at all. The config.ru which is read by apache/passenger handles the launching of the puppet master application. You should make sure you are not running the master as a webrick server.# therefore we need to call run *here*.
run Puppet::Application[:master].run
But it not going to work unless you have your clients hitting the port you have configured your puppet master vhost in apache (which ever port you choose to run it on) - they should be the same.
To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/QGSmM_F8b2AJ.
To post to this group, send email to puppet...@googlegroups.com.
To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Well you are telling me that if you don't run the puppetmaster service (which runs on 8140) then your clients can't connect. That's because the clients are trying to connect on 8140 but your passenger instance is running on 8086.
On Jun 12, 2012, at 1:40 AM, Sans wrote:
Does it really matter? For me it's working with either of these ports - 8140 or 8086. Not really sure about it but just noticed that. Cheers!!
On Monday, June 11, 2012 10:12:34 PM UTC+1, Jo wrote:Are the puppet clients configured to talk to the puppet master on port 8086?You need to either reconfigure all of your clients for the alternate port, or reconfigure passenger to use the expected port.--Jo RhettNet Consonance : net philanthropy to improve open source and internet projects.
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/QGSmM_F8b2AJ.
To post to this group, send email to puppet...@googlegroups.com.
To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.