Push Mof, pull Modules

This topic contains 3 replies, has 2 voices, and was last updated by  Alex Aymonier 1 day, 20 hours ago.

  • Author
    Posts
  • #83927

    Brian
    Participant

    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

  • #84257

    Alex Aymonier
    Participant

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

  • #84262

    Brian
    Participant

    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!

  • #84362

    Alex Aymonier
    Participant

    Nice

You must be logged in to reply to this topic.