- Configs result in a rpm file for each environment that are installed correctly.(rpm.name: appname-config-env : provides appname-config)
- Servers are assumed to have a tomcat running which was deployed as an rpm (rpm.name: appname-tomcat)
- Webapp is packaged as a rpm containing only a war with proper startup and shutdown scripts. (rpm.name: appname-war) This depends on appname-tomcat and appname-config.
- Stage the files by pushing them into the yum repositories.
- Deploy stage involves installing appname-config-env and then appname-war (this may cause appname-tomcat) to be pulled in and installed.
- Uninstall appname-war (and appname-config if needed)
- Install older appname-war (and appname-config files if needed)