Hi Josh,
Thank you for your reply, but this is not a problem with either the backslashes (btw, I am using doubles because of the example here:
http://docs.puppetlabs.com/windows/writing.html#packagepackage), neither with the
install_options array - both versions install the check_mk exe successfully.
When I have
check_mk is successfully installed but the files inside
C:\<myfolder>\check_mk (check_mk installation dir) although readable I can not exec them;
When I have
install_options => ['/S', '/D=C:\check_mk'],
check_mk is also successfully installed and I can exec the files inside
C:\check_mk (check_mk installation dir).
I think I found the problem, this puppet installation was updated from 3.3.2, where it was still acceptable to set permissions on Windows files, I just added
if $osfamily == 'windows' {
File { source_permissions => ignore }
}
to my sites.pp, then deleted
C:\<myfolder>\ and re-ran puppet agent, now the file permissions are as supposed - I had already tried to delete this folder, but without ignoring the source_permissions windows wide, and although the exec files that were fetched from the master could be ran the ones created by the check_mk installer were not.