Tomcat

This module provides tools for installing Tomcat.
See also
fabtools.require.tomcat
fabtools.tomcat.installfrom_source(_path=’/usr/share/tomcat’, version=’7.0.47’, mirror=’http://archive.apache.org, overwrite=False)[source]
Install Tomcat from source.
import fabtools # Install Tomcat fabtools.tomcat.installfrom_source(version=’6.0.36’)
fabtools.tomcat.start_tomcat()[source]
Start the Tomcat service.
fabtools.tomcat.stop_tomcat()[source]
Stop the Tomcat service.
**fabtools.tomcat.version(_path
)[source]
Get the version of currently installed tomcat.
Returns
None if it is not installed.
fabtools.tomcat.deployapplication(_war_file, webapp_path=None)**[source]
Deploy an application into the webapp path for a Tomcat installation.
NextPrevious