On 2 Apr 2011, at 18:15, Dave Augustus <da...@ingraftedsoftware.com> wrote:
> When I add a web site to a server managed by puppet, I need to update DNS. > Unfortunately, most of the clients are part of a windows AD domain. These web > sites are for internal development, testing and qa. > > Anyone have suggestions on how I could accomplish this from puppet? That is: > > In a puppet manifest using an apache module, I add a website. > Puppet creates the apache configs, etc, etc and now that web site will need a > DNS entry for clients to use. > > Thanks, > Dave I'm not sure how the puppet on Windows work is progressing - or if it's yet capable of doing this sort of stuff. One option would be to create a subdomain, and have one or more puppet-managed Bind servers authoritative for that subdomain, then just configure your windows DNS servers to forward requests for that subdomain to them. Another option, if you're running 2008 R2 on your DC's and you're storing DNS in LDAP - you can just add entries using standard LDAP tools called from puppet. There are a few caveats like the need to point it at the DC hosting the DNS operations master role. The two root folders that you need to look at for this are: DC=DomainDnsZones or Dc=ForestDnsZones. Entries have objectClasses like 'dnsZone' or 'dnsNode'. Cheers, -- Richard Clark rich...@fohnet.co.uk -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@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.