On Sat, Aug 14, 2010 at 5:35 PM, Rustler <coltsixshoo...@gmail.com> wrote: > I have the puppetmaster deamon running (as root) on a RH5 with it > using /etc/puppet for configuration and /var/lib/puppet for it's other > data files (which appear to be the default). Everything is working > fine. > > Installed passenger to run puppetmaster from Apache 2.2 as the user > puppet (it won't run as root). Yes I shut down the deamon, before > starting apache. > > It appears that the passenger/apache configuration using the user > puppet wants to use configuration files in /home/puppet/.puppet. It's > own var directory and puppet.conf and fileserver.conf. > > When I copy the files from /etc/puppet and /var/lib/puppet into > the .puppet directory of the user puppet it works using apache. > > If I then login to the Linux box as the user puppet and execute /usr/ > sbin/puppetca --list it is looking in /var/lib/puppet not /home/ > puppet/.puppet/var > > How do you get the command line and passenger puppet/apache to coexist > with the same directory structure?
http://projects.puppetlabs.com/issues/4385 I think the above bug is what you are experiencing. Although setting the confdir and vardir explicitly in /etc/puppet/puppet.conf seems to fix the problem, it doesnt explain why the puppet user would even load /etc/puppet/puppet.conf. Look for references to this behavior in the source code, namely reference/configuration.rb. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.