Hi guys,
I'm trying to make puppet install packages on windows.
It will install exe files just fine - but msi files won't be installed. They fail consistently :(
I've tried both having the files on a central directory - and give an UNC path to it, and with a file resource, putting the file in c:\temp\ - they both give the same result upon install:
package { "sflow":
source => $architecture ? {
'x86' => 'C:\\temp\\hsflowd-win-1.22.2-x86.msi',
'x64' => '\\\\software01\\autorepo$\\hsflowd-win-1.22.2-x64.msi',
default => 'unsupported architecture'
},
name => $architecture ? {
'x86' => 'sflow',
'x64' => 'sflow',
}
}
If I use urls like:
'c:\\temp\\hsflowd-win-1.22.2-x86.msi' - I get Failed to install: The network name cannot be found - after puppet runs:
msiexec.exe /qn /norestart /i c:\\temp\hsflowd-win-1.22.2-x86.msi
If I use urls like:
'c\:\\temp\\hsflowd-win-1.22.2-x86.msi'
it fails with: Failed to install: Fail on INT 24
Using Puppet-3.1.1 client on Windows Server 2003.
How do you guys install msi's on windows? :(