Multiple instances of configuration in DSC

Welcome Forums DSC (Desired State Configuration) Multiple instances of configuration in DSC

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

1 year, 6 months ago.

  • Author
  • #91310

    Topics: 1
    Replies: 0
    Points: 0
    Rank: Member


    I was wondering if the following scenario is supported:

    We currently run multiple instances of the same applications on our servers. We've created a DSC configuration that specifies what our application needs so we can quicly set up an environment. Is it possible to compile this configuration multiple times with different parameters and push it to the target nodes?

    Many thanks in advance

  • #91366

    Topics: 13
    Replies: 4872
    Points: 1,842
    Helping HandTeam Member
    Rank: Community Hero

    Sure. You'd normally use a configuration data block to provide the per-node information, and when you run the configuration it generates a MOF per node. Well-covered in "The DSC Book" on Leanpub, if you're interested.

The topic ‘Multiple instances of configuration in DSC’ is closed to new replies.