OK, Here is something I found with this problem When I run /etc/init.d/puppetmaster start in node/environment.rb validate_dirs is being passed /etc/puppet/modules:/usr/share/puppet/modules which isn't what I have in /etc/puppet/puppet.conf modulepath=.
BUT!!!!! if I just do a *touch /etc/puppet/puppet.con*f then puppetmaster calls reparse_config_files and it does in fact read my /etc/puppet/puppet.conf modulepath= correctly!!!! Like I said in the original thread, I don't know the ruby language. But I suspect that there is some type of calling sequence issue going on. On Thu, Dec 12, 2013 at 2:57 AM, Felix Frank < felix.fr...@alumni.tu-berlin.de> wrote: > Yes. > > The agent does default to environment=production if not specified > otherwise. Your [production] should match your [main] wrt. modulepath etc. > > HTH, > Felix > > On 12/11/2013 09:59 PM, John Pyeatt wrote: > > Could it be because my puppet.conf has a [production], [test] and > > [development] environment with a modulepath= for each one? > > -- > 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/52A97A8E.2000308%40alumni.tu-berlin.de > . > For more options, visit https://groups.google.com/groups/opt_out. > -- John Pyeatt Singlewire Software, LLC www.singlewire.com ------------------ 608.661.1184 john.pye...@singlewire.com -- 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/CAEisTLkPc7J_ofHZU0o1psP8QOiZFwe7ggcOg3B9%3Dk3Xbs_8Ww%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.