[Puppet Users] Re: Setting up Java on Windows

2012-10-19 Thread Paul Tötterman
Hi, Still struggling to set the Global PATH variable in a nice way. I set the path using PowerShell (a script which is deployed and executed by puppet), but I imagine you could do something similar with ruby and the win32 api: Function Set-Path {

[Puppet Users] Re: Setting up Java on Windows

2012-10-16 Thread Corey Osman
I wasn't aware that you could use the package resource for exe files since it looked like it was limited to msi files. I ended up crafting up this solution using exec resource exec{jdkinstaller: command = ${::installer_dir}/jdk-6u30-windows-i586.exe /s