examples/Resources/ChocolateySource/1-ChocolateySource_RegisterSource.ps1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
configuration Chocolatey 
{
    Import-DscResource -ModuleName Chocolatey

    Node localhost {
        ChocolateySource ChocolateyOrg {
            Ensure   = 'Present'
            Name     = 'Chocolatey'
            Source   = 'https://chocolatey.org/api/v2'
            Priority = 0
            Disabled = $false
        }
    }
}