[Puppet Users] Installing Java software on Windows using Puppet

2012-08-16 Thread Jeff Sussna
I want to use Puppet to manage Groovy and Gradle on Windows machines. The install process for each looks like: 1. Download zip file from a URL 2. Unzip 3. Create a Windows environment variable to point to the location where you unzipped 4. Add that environment variable/bin to the global PATH

Re: [Puppet Users] Installing Java software on Windows using Puppet

2012-08-16 Thread Ryan Coleman
On Thu, Aug 16, 2012 at 12:44 PM, Jeff Sussna j...@ingineering.it wrote: I want to use Puppet to manage Groovy and Gradle on Windows machines. The install process for each looks like: 1. Download zip file from a URL 2. Unzip The nanliu/staging module on the Puppet Forge will at least get you

Re: [Puppet Users] Installing Java software on Windows using Puppet

2012-08-16 Thread Jeff Sussna
Thanks for the pointer to nanliu/staging. Though from the forge page it sounds like it requires a master and hiera. I'm running standalone. Re env vars, I managed to figure that out. The following resource sets the global system var FOO_BAR to the current value of PATH, with ;baz appended to

Re: [Puppet Users] Installing Java software on Windows using Puppet

2012-08-16 Thread Josh Cooper
Hi Jeff, I've recently added support for MSI and executable packages on Windows[1], which will be out in Puppet 3. That way you can just download the java exe installer (step 1) and manage it via a `package` resource, thereby avoiding the zip issue. Obviously, it doesn't help you out now. In

Re: [Puppet Users] Installing Java software on Windows using Puppet

2012-08-16 Thread Jeff Sussna
Thanks! Very helpful. Though I don't follow your discussion of MSI's, since Groovy/Gradle don't have MSI installers. My understanding is MSI development is non-trivial. On Thursday, August 16, 2012 4:19:31 PM UTC-5, Josh Cooper wrote: Hi Jeff, I've recently added support for MSI and