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? -- 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+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/6ad9b33f-cc0c-46c0-9b76-7ddcf8b47044%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Christopher Wood
2013-Nov-01 20:40 UTC
Re: [Puppet Users] Pushing LDAP data into Puppet-template
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. On Fri, Nov 01, 2013 at 01:17:27PM -0700, ytmp123 wrote:> 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? > > -- > 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+unsubscribe@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-- 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+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/20131101204014.GA16637%40iniquitous.heresiarch.ca. For more options, visit https://groups.google.com/groups/opt_out.
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? -- 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+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/47203474-167c-45a0-87e5-a72afac7fb15%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.