-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xADDomainController #119
Comments
I have the same issue. This should either be fixed or the documentation needs to be updated. |
Got the same issue here. Will investigate |
The root cause of the issue is here: https://github.com/puppetlabs/puppetlabs-dsc/blob/master/lib/puppet_x/dsc_resources/xActiveDirectory/DSCResources/MSFT_xADDomainController/MSFT_xADDomainController.psm1#L140. If ensure is set to true, then sitename is required. |
TravisEz13
pushed a commit
that referenced
this issue
Nov 30, 2016
* Adds unit test for this scenario * Add chack if sitename was specified or not * Fixes #119
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Deploying xADDomainController as a Azure template extension. I'm receiving the following error;
ssage: \"DSC Configuration 'CreateADBDC' completed with error(s). Following are the first few: Cannot bind argument to parameter 'SiteName' because it is an empty string.
In the readme.md it states that SiteName is optional which it isn't. I have adjusted the deployment script to.
xADDomainController BDC
{
DomainName = $DomainName
DomainAdministratorCredential = $DomainCreds
SafemodeAdministratorPassword = $DomainCreds
DatabasePath = "F:\NTDS"
LogPath = "F:\NTDS"
SysvolPath = "F:\SYSVOL"
SiteName = 'Default-First-Site-Name'
DependsOn = "[WindowsFeature]ADDSInstall","[xDnsServerAddress]DnsServerAddress","[cDiskNoRestart]ADDataDisk"
}
And now it works.
The text was updated successfully, but these errors were encountered: