Skip to content

Commit 56ccc6f

Browse files
author
sanfrancrisko
authored
Merge pull request #443 from binford2k/MODULES-10644
(MODULES-10644) Document source upgrade process
2 parents dddac75 + 8779f8b commit 56ccc6f

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,27 @@ tomcat::config::server::connector { 'tomcat7-ajp':
113113

114114
> Note: look up the correct version you want to install on the [version list](http://tomcat.apache.org/whichversion.html).
115115
116+
### I want to upgrade the version of Tomcat to use
117+
118+
See information about running multiple versions above. Instead of upgrading in-place, install a second version to a new directory and then point the `catalina_home` of your instance to it. This gives you the ability to validate and rollback if needed. After validation, you may remove the older instance if you'd like. The links can be updated in order to match programmer preferences:
119+
120+
```puppet
121+
class { 'java': }
122+
123+
tomcat::install { '/opt/tomcat/9.0.24':
124+
source_url => 'https://archive.apache.org/dist/tomcat/tomcat-9/v9.0.24/bin/apache-tomcat-9.0.24.tar.gz'
125+
}
126+
tomcat::install { '/opt/tomcat/9.0.44':
127+
source_url => 'https://www-us.apache.org/dist/tomcat/tomcat-9/v9.0.46/bin/apache-tomcat-9.0.46.tar.gz'
128+
}
129+
tomcat::instance { 'my_tomcat_app':
130+
# catalina_home => '/opt/tomcat/9.0.24',
131+
catalina_home => '/opt/tomcat/9.0.46',
132+
catalina_base => '/opt/my_tomcat_app',
133+
}
134+
```
135+
136+
116137
### I want to configure SSL and specify which protocols and ciphers to use
117138

118139
```puppet

0 commit comments

Comments
 (0)