Pushing LDAP data into Puppet-template

60 views
Skip to first unread message

ytmp123

unread,
Nov 1, 2013, 4:17:27 PM11/1/13
to puppet...@googlegroups.com
Hi guys,

I'm trying to find a way how to push LDAP-Data into a Puppet template. My problem is:
I want to install a DHCP-Server with the help of a puppet-manifest. All the data for this DHCP-Server is stored in a LDAP-Server. So I also want to put the "dhcpd.conf" together out of all the LDAP-Data and then I want to push this "dhcpd.conf"-file onto the fresh-installed DHCP-Server.

How can I put together the dhcpd.conf file? Has anybody an idea?

Christopher Wood

unread,
Nov 1, 2013, 4:40:14 PM11/1/13
to puppet...@googlegroups.com
You would be better off using puppet to manage your ldap-backed dhcp server. That way data changes aren't dependent on when your puppet agent run happens.
> --
> 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...@googlegroups.com.
> To view this discussion on the web visit
> [1]https://groups.google.com/d/msgid/puppet-users/6ad9b33f-cc0c-46c0-9b76-7ddcf8b47044%40googlegroups.com.
> For more options, visit [2]https://groups.google.com/groups/opt_out.
>
> References
>
> Visible links
> 1. https://groups.google.com/d/msgid/puppet-users/6ad9b33f-cc0c-46c0-9b76-7ddcf8b47044%40googlegroups.com
> 2. https://groups.google.com/groups/opt_out

ytmp123

unread,
Nov 2, 2013, 2:44:00 AM11/2/13
to puppet...@googlegroups.com, christop...@pobox.com
Hi,

what do you exactly mean? I only want to know how to extract DHCP-Information out of the LDAP-Server and use them in a Puppet-template.

I don't know how to do it in a most efficient way?
Reply all
Reply to author
Forward
0 new messages