Alex Lasley
08/05/2025, 2:47 AMclass {'::puppet_agent':
absolute_source => 'C:\MyOrgName\Installers\openvox-agent-x64.msi',
package_version => '8.19.2',
require => File['C:\MyOrgName\Installers\openvox-agent-x64.msi'],
}
This seems to work because puppetlabs/puppet_agent gets the version from the aio_agent_version fact for the idempotency check and doesn't care about the installed package name. With this method it is your responsibility to get the correct installer version onto the node before you use it with absolute_source, hence the require. For my use case this was easier than switching to a different module.