I am doing some reading and it appears package_module is the new way to install packages. I am creating some new policy file and I think I am using the deprecated syntax to install some packages using Chocolately. Example:
classes:
windows::
"have_choco_exe" expression => fileexists("C:\ProgramData\chocolatey\bin\choco.exe");
packages:
have_choco_exe::
"python3"
package_policy => "add",
package_method => choco,
package_select => "==",
package_version => "3.11.0";
I cannot find how to use package_module to install using Chocolatey. I did some reading in masterfiles/lib/
packages.cf and I don't see any mention of Chocolatey there.
Can anyone share any information about using Chocolatey and package_module?