Issue #2774 has been updated by John Kristensen.

I'm running the the puppetmasterd on CentOS 5.2.

After updating to puppet 0.25.4 and using the new rack config.ru file I noticed 
similar weird things happening.

I found that it seems as though pupetmasterd was reading from the default(?) 
config file of:
  /etc/puppet/puppet.conf
instead of the previously used:
  /etc/puppet/puppetmasterd.conf

by changing the [puppet] section to be called [main] in 
/etc/puppet/puppetmasterd.conf, and inserting the following line into my 
config.ru file:
<blockquote>
      ARGV << "--rack"
    + ARGV << "--config" << "/etc/puppet/puppetmasterd.conf"
      require 'puppet/application/puppetmasterd'
</blockquote>
things start to work as normal again

Additionally it seems as though it doesn't like it if you reference a symlink 
instead of a file, so you may want to use:
<blockquote>
    ARGV << "--config" << "/etc/puppet/puppetd.conf"
</blockquote>
if you are using the default CentOS config files (ie. 
/etc/puppet/puppetmasterd.conf is a symlink to /etc/puppet/puppetd.conf
----------------------------------------
Bug #2774: puppetmasterd with Passenger doesn't read puppet.conf correctly
http://projects.reductivelabs.com/issues/2774

Author: Florian Wagner
Status: Duplicate
Priority: Normal
Assigned to: Christian Hofstaedtler
Category: passenger
Target version: 0.25.2
Affected version: 0.25.1
Keywords: 
Branch: 


After switching to puppet 0.25.1 and modifying my 
Apache/Passenger/puppetmasterd config according to 
http://github.com/reductivelabs/puppet/tree/master/ext/rack the resulting 
puppetmasterd setup doesn't seem to read the [puppetmasterd] section of the 
config. At least it doesn't use my custom modulepath, manifestdir and 
external_nodes config. As a workaround I had to migrate these settings to my 
config.ru (ARGV << "--manifestdir" << "..." and so on).


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://reductivelabs.com/redmine/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" 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-bugs?hl=en.

Reply via email to