Skip to content

Instantly share code, notes, and snippets.

@duffney
Last active May 4, 2017 07:23
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save duffney/69acfa13e0b3756a69b70443fa42d393 to your computer and use it in GitHub Desktop.
Save duffney/69acfa13e0b3756a69b70443fa42d393 to your computer and use it in GitHub Desktop.
LCM configuration to connect the pull server to the client node
[DSCLocalConfigurationManager()]
Configuration LCM_Pull {
Node Pull {
Settings {
ConfigurationMode = 'ApplyAndAutoCorrect'
RefreshMode = 'Pull'
}
ConfigurationRepositoryWeb PullServer {
ServerURL = 'https://pull:8080/PsDscPullserver.svc'
AllowUnsecureConnection = $false
RegistrationKey = 'ff7e4129-5c8a-4f23-bbeb-30a85aafb708'
ConfigurationNames = @('WebServerConfig')
}
ResourceRepositoryWeb PullServerModules {
ServerURL = 'https://pull:8080/PsDscPullserver.svc'
AllowUnsecureConnection = $false
RegistrationKey = 'ff7e4129-5c8a-4f23-bbeb-30a85aafb708'
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment