Partial configuration - pull server

Welcome Forums DSC (Desired State Configuration) Partial configuration - pull server

This topic contains 1 reply, has 2 voices, and was last updated by

 
Participant
8 months ago.

  • Author
    Posts
  • #96456

    Participant
    Points: 0
    Rank: Member

    Hello all.
    I have a big issue that I cant solve, need help!

    Im using partial configuration to configure 3 servers. The problem is mof file name. In Microsoft documentation (https://docs.microsoft.com/en-us/powershell/dsc/partialconfigs) says:
    "If you are pulling more than one partial configuration from a pull server, the configuration document can be named (...) ..mof, where ConfigurationName is the name of the partial configuration, and NodeName is the name of the target node."

    I'm trying ..mof and it returns the warning "WARNING: [DSC-3]: [] Executing Get-Action on partial configuration 'PreStagging' Failed. Please ensure the parital configuration and its checksum exist on the server. Check the DSC event logs for further details."
    But when I use .mof it works well, the problem whit it is that I have 3 servers, I cant have 3 files with the same name, it needs have Nodename for the correct configuration.

    Someone have the same problem?

  • #96660

    Participant
    Points: 0
    Rank: Member

    I'd recommend to stay away from Partial Configurations, the reasons have been discussed in the forum, and here's a good source of info for one of the reasons why: https://stevenmurawski.com/2016/03/dsc-partial-configurations-are-the-devils-workshop/

    @gaelcolas (https://powershell.org/forums/topic/howto-optional-configuration/#post-96234)

The topic ‘Partial configuration - pull server’ is closed to new replies.