You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
windows_ad_computer node['cookbook']['domain'] do
action :join
domain_pass node['cookbook']['domain_password']
domain_user node['cookbook']['domain_user']
domain_name node['cookbook']['domain']
restart true
end
Steps to Reproduce:
trying to configure using kitchen-test
kitchen converge
Expected Result:
Expecting to see my vm join the domain provided
Actual Result:
Chef::Exceptions::ValidationFailed
----------------------------------
Option action must be equal to one of: :nothing, :create, :modify, :move, :delete! You passed :join.
The text was updated successfully, but these errors were encountered:
Howdy @akdasari, this was not updated in the readme, but the joining of computers to the domain should be handled by the Chef resource https://docs.chef.io/resources/windows_ad_join/ as it made no sense to continue supporting multiple resources with the same intent.
Please try using that resource and see if you have success. This cookbook is primarily for creating Active Directory and its management.
I’ll push and update to correct the error though as I can see how it leads to confusion.
Cookbook version
windows_ad : 0.7.1
Chef-client version
Chef Infra Client version: 15.7.32
Platform Details
azure
Scenario:
trying to add vm to domain
windows_ad_computer node['cookbook']['domain'] do
action :join
domain_pass node['cookbook']['domain_password']
domain_user node['cookbook']['domain_user']
domain_name node['cookbook']['domain']
restart true
end
Steps to Reproduce:
trying to configure using kitchen-test
kitchen converge
Expected Result:
Expecting to see my vm join the domain provided
Actual Result:
The text was updated successfully, but these errors were encountered: