Re: [Puppet Users] Dashboard & LDAP ENC''s

Rob McBroom
Wed, 29 Jun 2011 15:23:13 -0000

On Jun 22, 2011, at 2:37 PM, Craig White wrote:

> I''ve restarted both puppetmaster and apache (Dashboard is running
on passenger) and still, I don''t see the above system in
''Nodes'' though I haven''t run or even installed puppet
on that system. Shouldn''t it show up in Dashboard as a node that has
never reported?
>
> I''m trying to figure out how to get Dashboard to import the ENC
''nodes'' from LDAP.

Someone can correct me if I’m wrong, but I believe the Dashboard is just another
possible destination for reports. It has no awareness of the Puppetmaster or
it’s configuration (like `node_terminus`). The Puppetmaster, on the other hand,
does know about the Dashboard (via the `reports` setting) and can send reports
there, but not until after there’s something to report (which would be a Puppet
run on that node).

So I think what you’re seeing is expected behavior. The node should show up
after its first Puppet run.

If you want it to be more automatic, you may have to write something that
queries LDAP and modifies the MySQL database. If you use Python, I’ve got a
library that simplifies getting servers out of LDAP. Let me know if you’re
interested.

--
Rob McBroom
<http://www.skurfer.com/>