ChocolateyPackages3rd is aimed to install additional packages using Chocolatey.
Now you can configure additional configuration steps between installation of two Chocolatey packages in the YAML configuration.
Important
|
This DSC resource can only be used if the required parent configuration ChocolateyPackages is defined and activated in the YAML files. In the |
Source |
|
DSC Resource |
|
Documentation |
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
ForceRebootBefore |
Boolean |
Force reboot before installation of first Chocolatey package. Only one reboot after first start of a DSC configuration is supported. |
|
|
Hashtable[] |
List of Chocolatey packages |
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
Name |
Key |
String |
Chocolatey Package Id |
|
Version |
String |
Chocolatey Package Version
|
||
Ensure |
String |
Specifies whether the Chocolatey Package should be installed on the machine or not |
|
|
Rank |
Uint16 |
Rank to control the installation order of packages A package with a lower rank is installed before a package with a higher rank. With specifing the rank you can control the installation order of packages in the MOF files. This is useful on multiple YAML layer scenarios to define the installation order independent from the YAML layer merging. |
Default: |
|
ChocolateyOptions |
String[] (KeyValuePair) |
All option values shall be provided as strings, so enclose numerical values in ''. |
||
UpdateOnly |
Boolean |
Only updates installed package and ignores packages not Installed. |
|
|
Credential |
PSCredential |
|||
ForceReboot |
Boolean |
Force a reboot after first installation of the package. Only one reboot after first start of a DSC configuration is supported. |
|
ChocolateyPackages3rd:
Packages:
- Name: notepadplusplus
Ensure: Present
Version: '1.0'
ChocolateyOptions:
PackageParameters: /FirstParam:Value1 /SecondParam:Value2
Credential: '[ENC=PE9ianM...=]'
- Name: winrar
Version: Latest
Rank: 100 # winrar is installed before notepadplusplus (with the default rank)
ForceReboot: true
- Name: very_large_package
Ensure: Present
Version: '1.0'
ChocolateyOptions:
ChocolateyOptions:
TimeOut: '3600' # 1h install timeout
Datum.yml
(Excerpt)lookup_options:
ChocolateyPackages3rd:
merge_hash: deep
ChocolateyPackages3rd\Packages:
merge_hash_array: UniqueKeyValTuples
merge_options:
tuple_keys:
- Name