Harsh Desai
2013-Sep-06 02:22 UTC
[Puppet Users] Configuring a Windows Domain Controller (DC) using puppet
Hi Has anyone tried configuring a windows 2008 server as a Domain controller using puppet manifests? I am looking for the DC to act as a DHCP, DNS server and setup Active Directory Domain services. Thanks Harsh -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
Rich Siegel
2013-Sep-06 13:48 UTC
[Puppet Users] Configuring a Windows Domain Controller (DC) using puppet
I wrote this for managing dns. https://github.com/rismoney/puppet-windns If you want to build a dc, dcpromo creates and uses a scripted unattended file.http://technet.microsoft.com/en-us/library/cc732887.aspx You could easily use an exec resource to run dcpromo. Use an unless param script to see if target is a dc already. Dhcp shouldn''t be colo on a dc, but you could add roles with dism module and leverage powershell module to do anything you want. In 2012 dcpromo is powershell... HTH, Rich -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
Harsh Desai
2013-Sep-17 18:40 UTC
[Puppet Users] Re: Configuring a Windows Domain Controller (DC) using puppet
Hi Rich dcpromo.exe with an answers file is a great idea. Thanks for that ! This will give me a machine with DC and DNS (but not a DHCP server). Since I am working with a test environment, I will be having DHCP, DNS and DC on the same 2008 R2 machine. Do you have references I can use to add a DHCP role too? I am not too familiar with dism. Thanks Harsh On Friday, September 6, 2013 6:48:35 AM UTC-7, Rich Siegel wrote:> > I wrote this for managing dns. > https://github.com/rismoney/puppet-windns > > If you want to build a dc, dcpromo creates and uses a scripted unattended > file.http://technet.microsoft.com/en-us/library/cc732887.aspx > > You could easily use an exec resource to run dcpromo. Use an unless > param script to see if target is a dc already. > > Dhcp shouldn''t be colo on a dc, but you could add roles with dism module > and leverage powershell module to do anything you want. In 2012 dcpromo is > powershell... > > HTH, > Rich > >-- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.