NetDocuments-Archive / ad-join-cookbook

Chef cookbook to join windows computer to AD
Apache License 2.0
14 stars 12 forks source link

Leave domain function #14

Closed bender-the-greatest closed 7 years ago

bender-the-greatest commented 7 years ago

Any plans to implement domain leave functionality?

spuder commented 7 years ago

No current plans because we have a wrapper script that does the knife node delete, knife client delete and removes vm from domain and hypervisor in 1 swoop.

Pull requests are welcome.

derekgroh commented 7 years ago

@metalseargolid I can port something over from the windows_ad cookbook rather quickly if you're looking for just the unjoining functionality.

bender-the-greatest commented 7 years ago

@spuder @derekgroh I actually ended up writing in the domain unjoin functionality on my own, but I haven't had a chance to test it yet via the recipe. I'll submit a PR once I've tested and verified it works.

derekgroh commented 7 years ago

@metalseargolid Great, just submitted the pull request, would love to see yours for other ideas.