Skip to content

Single Import-DSCResource per module. #5

@bielawb

Description

@bielawb

At the moment if several resources are defined in a single module you get duplicate Import-DSCResource calls:

configuration test 
{

    Import-DscResource  -Module StackExchangeDSC

    ExecutionPolicy EnterNameOf_ExecutionPolicy 
    {
        Name                      = "[string]" # IsMandatory
    }

    Import-DscResource  -Module StackExchangeDSC

    NetworkAdapter EnterNameOf_NetworkAdapter 
    {
        Description               = "[string]" # IsMandatory
        Name                      = "[string]" # IsMandatory
    }
}

If possible, add-on should avoid adding these duplicates.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions