hi everybody,
im trying to install a package on a windows server host. my source parameter looks like this:
$package_filename = "check-mk-agent-1.2.3i1.exe" $package_name = "Check_MK Agent 1.2.3i1" package { "$package_name": ensure => installed, provider => windows, source => "\\\server/install/Tools/check_mk-agent/$package_filename", install_options => ['/S', '/D=C:\check_mk'] }here is the problem: when i run "puppet agent -t" on the server , it works and the package is installed.
but when the puppet service (every 30 minutes) runs, there is an error:
change from absent to present failed: The source does not exist: '\\server\install\Tools\check_mk-agent\check-mk-agent-1.2.3i1.exe'when i open the directory (\server\install\Tools\check_mk-agent\check-mk-agent-1.2.3i1.exe) the file opens.
how can i fix this?