----- Dan White <[email protected]> wrote:
>
> On Jun 26, 2012, at 5:07 PM, Craig White wrote:
> > On Jun 26, 2012, at 1:20 PM, Dan White wrote:
> >> I am guessing there should be an 8140 in that netstat, right ?
> > ----
> > yes, if you have passenger properly configured as a puppetmaster, it would
> > be listening on port 8140
>
> Part of the problem is that the instructions I was trying to follow at
>
> http://projects.puppetlabs.com/projects/1/wiki/Using_Passenger
> and
> http://docs.puppetlabs.com/guides/passenger.html
> are a bit old and rusty. The old wiki says it is outdated, but the guides
> page has more detail about setting up puppet 0.2[45].x than any other version.
>
> Anyone got some cheese to go with this whine ? :)
>
> Well, I will roll up my sleeves, dive in and see if I can figure it out.
> And I will make a contribution to the documentation once I get it straight !
> This is my promise.
>
>
I found the problem. Part mine, part Puppet's
/usr/share/puppet/ext/rack/manifest.pp out of the
puppet-2.7.(12/17)-1.el5.noarch.rpm
file { "/etc/apache2/conf.d/puppetmasterd":
ensure => present,
source => "puppet:///modules/rack/apache2.conf",
mode => 0644,
owner => root,
group => root,
require => [File["/etc/puppet/rack/config.ru"],
File["/etc/puppet/rack/public"], Package["apache2"], Package["passenger"]],
notify => Service["apache2"],
}
Couple of problems with this -- one I caught before and the other that caused
me grief later.
First problem: On Red Hat, the package/service is httpd instead of apache2
Second problem: /etc/apache2/conf.d/puppetmasterd was being ignored 'cause
/etc/httpd/conf/httpd.conf says:
#
# Load config files from the config directory "/etc/httpd/conf.d".
#
Include conf.d/*.conf
So I renamed /etc/apache2/conf.d/puppetmasterd to
/etc/apache2/conf.d/puppetmaster.conf
and now my Passenger-Driven Puppet Master is running !
“Sometimes I think the surest sign that intelligent life exists elsewhere in
the universe is that none of it has tried to contact us.”
Bill Waterson (Calvin & Hobbes)
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.