Update Windows Tomcat using Puppet

102 views
Skip to first unread message

Mike A.

unread,
Jun 25, 2015, 8:47:26 AM6/25/15
to puppet...@googlegroups.com
Hi,

I'm new in using Puppet but I was able to install the server and several clients

Almost all of our servers are running Windows 2008 with Tomcat 7 installed. I would like to know if it's possible to update the installed tomcat to version 8 using Puppet.

If someone can point me to a tutorial on how to do it, I would greatly appreciate it.

Thanks!

Mike A.

unread,
Jun 26, 2015, 2:57:36 AM6/26/15
to puppet...@googlegroups.com
If there's no way I can use Puppet to install/update Tomcat directly, should I use Chocolatey instead?

How reliable is Chocolatey in a production server?

Anyone have any experience?

Rob Reynolds

unread,
Jun 29, 2015, 1:59:11 PM6/29/15
to puppet...@googlegroups.com
On Fri, Jun 26, 2015 at 1:57 AM, Mike A. <mike.b...@gmail.com> wrote:
If there's no way I can use Puppet to install/update Tomcat directly, should I use Chocolatey instead?

You can use Puppet to upgrade Tomcat directly. You've probably already come across puppetlabs-tomcat[1] and realized it isn't quite set up for Windows. You've probably also noticed that none of the tomcat modules on the forge advertise working with Windows[2]. It seems one could look at the steps required to update tomcat and create a module that will do so, or contribute back to puppetlabs-tomcat the Windows requirements.

 

How reliable is Chocolatey in a production server?

Depending on your methodology, reliable. Provided you:
  • Create your own packages that
  • Vendor the installers somewhere in your network and
  • You host your own internal chocolatey repository[3] 

The most important thing in here is production usage != community feed (https://chocolatey.org).

You can start with a copy of the package, then adjust the urls to your internal ones - see https://chocolatey.org/packages/Tomcat#files and take a look at the scripts. Download the zip files to a CIFS share or embed them in the package itself. Then adjust the links in the package itself.

The package itself has a download link on the left, you can download the nupkg and rename to .zip and treat it as a regular zipped file. Then when you are ready, just use choco pack to repack the files into a nupkg and push it up to your internal repository.


 

Anyone have any experience?



On Thursday, June 25, 2015 at 8:47:26 PM UTC+8, Mike A. wrote:
Hi,

I'm new in using Puppet but I was able to install the server and several clients

Almost all of our servers are running Windows 2008 with Tomcat 7 installed. I would like to know if it's possible to update the installed tomcat to version 8 using Puppet.

If someone can point me to a tutorial on how to do it, I would greatly appreciate it.

Thanks!

--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/6dce982f-9b18-4886-9bbb-52689ffbdbee%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Rob Reynolds
Developer, Puppet Labs

PuppetConf 2015 is coming to Portland, Oregon! Join us October 5-9.
Register now to take advantage of the Early Adopter discount save $349!
Reply all
Reply to author
Forward
0 new messages