Tests/Integration/MSFT_HostsFile.config.ps1

Configuration MSFT_HostsFile_Config
{
    param
    (
        [Parameter()]
        [System.String[]]
        $NodeName = 'localhost'
    )

    Import-DSCResource -ModuleName NetworkingDsc

    Node $NodeName
    {
        HostsFile HostEntry
        {
            HostName  = $Node.HostName
            IPAddress = $Node.IPAddress
            Ensure    = $Node.Ensure
        }
    }
}