Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

serving .exe file via http (provider => windows)

hi everyone, i'm trying to roll out an .exe file for the puppet package provider "windows".

my manifest looks like this:

$package_source   = "http://puppet.local.domain/base_check_mk/windows/check-mk-agent-1.2.3i1.exe" 
$package_name     = "Check_MK Agent 1.2.3i1" 

package { "$package_name":
    ensure   => installed,
    provider => windows,
    source   => "$package_source",
    install_options => ['/S', '/D=C:\check_mk']
}

the agent says:

Error: The source does not exist: 'http://puppet.local.domain/base_check_mk/windows/check-mk-agent-1.2.3i1.exe'

When i open this link in the browser of the agent, the download of the file starts. (So the path is correct).

The same procedure works with ".msi" files though. Are .exe files not supported for this kind of method?