Author Posts

November 10, 2017 at 3:03 pm

I'm attempting to push a configuration to a server, while utilizing the pull server for installing required modules.

1.) Is it possible to do what I'm asking?
2.) I receive an error below when attempting to do so.

###############################################################
Cannot find module Carbon_2.5.0 from the server
https://:8080/pSDSCPullServer.svc//Modules(ModuleName='Carbon',ModuleVersion='2.5.0')/ModuleContent. Could not install module dependencies
needed by the configuration.
+ CategoryInfo : ResourceUnavailable: (root/Microsoft/...gurationManager:String) [], CimException
+ FullyQualifiedErrorId : WebDownloadManagerModuleNotFound,Microsoft.PowerShell.DesiredStateConfiguration.Commands.GetDscModuleCommand
+ PSComputerName : localhost
################################################################

Module on pull server is in C:\Program Files\WindowsPowerShell\DscService\Modules\Carbon_2.5.0.zip. I've created the checksum too. The zip is formatted as:

—-Carbon
—bin
—DscResources
—en-US
—Formats
—Functions
Types
Carbon.format.ps1xml
Carbon.psd1
Carbon.psm1
Carbon.types.ps1xml
Import-Carbon.ps1

November 14, 2017 at 10:41 pm

Yes it is possible. What does your LCM config look like?

November 15, 2017 at 12:10 am

I actually just figured it out about an hour ago. I had had "/" at the end of my address. If you notice the double "/"
in the address.

"https://:8080/pSDSCPullServer.svc//Modules(ModuleName='Carbon',ModuleVersion='2.5.0')/ModuleContent"

Thanks!