cookbook 'windows_ad', '~> 1.0.0'
windows_ad
(22) Versions
1.0.0
-
Follow42
Installs/Configures windows active directory
cookbook 'windows_ad', '~> 1.0.0', :supermarket
knife supermarket install windows_ad
knife supermarket download windows_ad
windows_ad cookbook
Manage AD DS roles, domains and directory objects with custom resources.
Requires Chef Infra Client 16 or later and Windows Server 2016, 2019, 2022 or 2025.
Add depends 'windows_ad' to your wrapper cookbook and declare:
windows_ad_install 'AD DS'
Installing the role does not promote a domain controller. Declare domain and
directory resources separately. Domain promotion and demotion can reboot the server.
Resources
- [windows_ad_install](documentation/windows_ad_install.md): Install the AD DS server role, Group Policy Management and AD administration tools. Promotion is a separate operation.
- [windows_ad_computer](documentation/windows_ad_computer.md): Manage an Active Directory computer object. Use the native windows_ad_join resource to join or leave a domain.
- [windows_ad_contact](documentation/windows_ad_contact.md): Manage an Active Directory contact object using the directory service command-line tools.
- [windows_ad_group](documentation/windows_ad_group.md): Manage an Active Directory group object using the directory service command-line tools.
- [windows_ad_group_member](documentation/windows_ad_group_member.md): Add or remove a user DN from an Active Directory group.
- [windows_ad_user](documentation/windows_ad_user.md): Manage an Active Directory user object using the directory service command-line tools.
- [windows_ad_ou](documentation/windows_ad_ou.md): Manage an organisational unit. Creation delegates to the PowerShell provider on supported Windows Server versions.
- [windows_ad_ou_2008](documentation/windows_ad_ou_2008.md): Retained public name for the dsadd OU provider. The name does not imply support for Windows Server 2008.
- [windows_ad_ou_2012](documentation/windows_ad_ou_2012.md): Retained public name for the PowerShell OU provider. Creates an OU under a domain or parent OU.
- [windows_ad_domain](documentation/windows_ad_domain.md): Promote or demote an AD DS domain controller. Run only on a Windows Server host dedicated to that domain operation.
See the [migration guide](migration.md),
[test fixtures](test/cookbooks/test/recipes) and [testing instructions](TESTING.md).
Licence
MIT. Original authors include Derek Groh, Richard Guin, Miroslav Kyurchev,
Matt Wrock and Miguel Ferreira. Maintained by Sous Chefs.
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
CHANGELOG for windows_ad
Standardise files with files in sous-chefs/repo-management
Standardise files with files in sous-chefs/repo-management
1.0.0 (2026-11-12)
⚠ BREAKING CHANGES
- replace Windows AD installation recipe with resources (#174)
Features
Bug Fixes
0.7.13 (2025-10-16)
Bug Fixes
0.7.11 - 2024-11-18
Standardise files with files in sous-chefs/repo-management
Standardise files with files in sous-chefs/repo-management
Standardise files with files in sous-chefs/repo-management
Standardise files with files in sous-chefs/repo-management
Standardise files with files in sous-chefs/repo-management
0.7.8 - 2023-04-07
Standardise files with files in sous-chefs/repo-management
0.7.5 - 2023-04-01
Standardise files with files in sous-chefs/repo-management
0.7.4 - 2023-03-20
Standardise files with files in sous-chefs/repo-management
0.7.3 - 2023-03-15
Standardise files with files in sous-chefs/repo-management
Standardise files with files in sous-chefs/repo-management
Standardise files with files in sous-chefs/repo-management
Standardise files with files in sous-chefs/repo-management
Standardise files with files in sous-chefs/repo-management
Standardise files with files in sous-chefs/repo-management
Standardise files with files in sous-chefs/repo-management
0.7.2
- Add compatibility for Chef 16
- Update README.md to match resource options (removal of
:join&:unjoinactions for:windows_ad_computer) and windows cookbook dependency. - Use
:powershellresource for inspec tests. - Change supported platform to
>= 6.2(Windows 2012) to match README.md.
0.7.1
- Corrects the removal of the name_property in the group_members resource
- Clean up delivery testing
- github templates and actions
0.7.0
- Remove depends on 'windows' cookbook, features are now part of chef core.
- Improved test kitchen tests and subcommand flow without need to run each subcommand.
0.6.4
- Corrects .kitchen file to allow Converge, verify, and test to complete successfully with additional recipes after system reboot.
0.6.3
- Issue 121 - https://github.com/TAMUArch/cookbook.windows_ad/issues/121 allow use of spaces in Distinguished Name.
0.6.2
- Group resource not using library CmdHelper not checking user with domain.
0.6.1
- Install dependency windows features.
0.6.0
- Allow compatibility with windows cookbook 3.0.0 changes.
0.5.5
- Hotfix for locking the version of the windows cookbook as it has recently been rewritten. A refactor is required to use the latest version.
0.5.4
- Issue 100 - https://github.com/TAMUArch/cookbook.windows_ad/issues/100 initial support for Windows 2016.
- Quality changes - chefignore, default recipe uses float to compare os_version.
0.5.3
- Issue 87 - https://github.com/TAMUArch/cookbook.windows_ad/issues/87 revert Robocop edits on providers
0.5.2
- Issue 85 - https://github.com/TAMUArch/cookbook.windows_ad/issues/85 revert Robocop edits on dsquery
0.5.1
- Quality of life edits
0.5.0
- Join and unjoin actions from domain provider moved to computer provider - https://github.com/TAMUArch/cookbook.windows_ad/pull/77
- Correct user action to address dsmod error - https://github.com/TAMUArch/cookbook.windows_ad/issues/71
- Fixed bug in join ou that always reported that the resource was updated
- Gitter badger added - https://github.com/TAMUArch/cookbook.windows_ad/pull/66
- Proper formattign for pre-win2012 systems - https://github.com/TAMUArch/cookbook.windows_ad/pull/70 and https://github.com/TAMUArch/cookbook.windows_ad/pull/74
0.4.5
- Rubocop and foodcritic - https://github.com/TAMUArch/cookbook.windows_ad/issues/2
- Add success return codes for installing DC. - https://github.com/TAMUArch/cookbook.windows_ad/issues/1
0.4.4
- Correct versioning for Supermarket, required unsharing, bumping version and then sharing once again.
0.4.3
- Community contributions - Add restart parameter, Testing with vagrant, Added domain prefix and updated ou_dn method, powershell requires quotes around OU
0.4.2
- Community contributions - add_domain_join_ou
0.4.1
- Community contributions - fix-string-comparison, case-insensitive-comparison, and decompose-nested-ou
0.4.0
- Community contributions - chef_spec support.
0.3.9
- Community contributions - enum and numeric values in command options, user existence check, group member provider, allow use of CN=Users in DN.
0.3.8
- Moved :join and :unjoin actions for computer from :domain provider to :computer provider.
0.3.7
- Mark attributes as required for :domain resource
- Fixed regression on install forest with unnecessary credentials
0.3.6
- Attempt to upload to supermarket
0.3.4
- Corrected domain join for Windows Server 2008
0.3.3
- Formatting changes - remove tabs
0.3.2
- Logic change to ensure server 2012 is still works correctly
0.3.0
- Support for Windows Server 2008 R2 for domain provider
0.2.1
- Community contributions - nested ou support
0.2.0
- AD Object Support
0.1.0
- Initial release of active-directory
Collaborator Number Metric
1.0.0 failed this metric
Failure: Cookbook has 1 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Cookstyle Metric
1.0.0 passed this metric
No Binaries Metric
1.0.0 passed this metric
Testing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.0.0 failed this metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Cookstyle Metric
1.0.0 passed this metric
No Binaries Metric
1.0.0 passed this metric
Testing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.0.0 passed this metric
1.0.0 passed this metric
Testing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.0.0 failed this metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number