Reg : War deployment with Puppet

194 views
Skip to first unread message

krishna bhaskara rao

unread,
Jan 30, 2014, 1:54:26 AM1/30/14
to puppet...@googlegroups.com
Hi,

Can any one share me sample snippets to deploy war in tomcat. if deployment fails, how to rollback.

With Regards,
Krishna.

PaulC

unread,
Jan 30, 2014, 6:50:58 AM1/30/14
to puppet...@googlegroups.com
Must admit i would be interested in seeing what other peoples approaches has been for this, we have been thinking about going down the route of getting the war files and any relevant library files put into a rpm/deb package and getting puppet to install the rpm though the OS package manager.

Paul C.

Andrey Kozichev

unread,
Jan 30, 2014, 8:52:16 AM1/30/14
to puppet...@googlegroups.com
we used to package into rpms as well


--
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/241ed902-f5c6-4f83-a2de-85a13b1948ed%40googlegroups.com.

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

Neil - Puppet List

unread,
Jan 30, 2014, 3:01:35 PM1/30/14
to PuppetList

Matthew Schmitt

unread,
Jan 30, 2014, 3:13:29 PM1/30/14
to puppet...@googlegroups.com
We package the war into a RPM and then use an exec statement to extract the war.

Matt

Darin Perusich

unread,
Jan 30, 2014, 4:14:44 PM1/30/14
to puppet...@googlegroups.com
Usually package into an RPM, but not always, which installs into
something like /usr/{lib|share}/package/something.war and then create
a link to it from the tomcat webapps directory. Tomcat's autodeploy
will take care of unpacking it.

--
Later,
Darin
> https://groups.google.com/d/msgid/puppet-users/BFC7346E-5E79-480C-B4C1-7B996B34ADDC%40gmail.com.
Reply all
Reply to author
Forward
0 new messages