I've pasted the output of the suggested commands here:
http://pastebin.com/npd6akwY

I noticed that configprint shows that "extrenal_nodes" gets set to
"none" as soon as I uncomment one of the environments (in this case
"testing"). Is there any dependencies or something that the
puppetmaster checks for with regards to environments, which may
explain this behavior?

Btw, I verified that the client picks up the correct environment when
using the "--environment=<environments>" flag. And also, I restart the
puppetmaster frequently when debugging this, so I don't believe #3580
bug applies to me.


- Kenneth

On Mon, Jul 12, 2010 at 7:40 PM, Nan Liu <nan....@gmail.com> wrote:
> On Jul 12, 2010, at 8:30 AM, Kenneth Holter <kenneho....@gmail.com> wrote:
>
> I moved the "environments=testing" from "main" to "puppetmasterd",
>
> restarted puppetmaster, and tried another puppet client run. Same
>
> results. Even tried without that entry, still don't work.
>
> What I meant was
> [main]
> ...
> environment=testing
>
> [puppetmasterd]
> ...
> environments=production,testing
>
> I found a thread indicating that the site.pp file should contain a
>
> default node, so I included this in /etc/puppet/manifests/site.pp:
>
> -- code start --
>
> node default {
>
>  info("default node")
>
> }
>
> -- code end --
>
> ..and found that this is being parsed instead of puppetmaster fetching
>
> the node information externally via the external nodes script. Any
>
> ideas on how to proceed debugging this?
>
>
> I would run "puppetd --configprint environment" to see what's the real
> configuration after parsing. If it's setting it to the testing
> environment but not invoking external node, please run "puppetd
> --configprint all | grep ldap" and forward a copy of the output.
>
> If it's a bug, definitely worth looking into and confirming.
>
> Thanks,
>
> Nan
>
> Sent from my iPhone
>
> --
> 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.
>

-- 
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.

Reply via email to