6.4. post-install Script
post-install [
--version <version>
]
--version <version>: selects which version of the cartridge to install. If you do not supply a version, OpenShift Enterprise installs the version given in the Version element of the $cartridge_name/metadata/manifest.yml file.
Use the post-install script to configure your cartridge after the cartridge starts. OpenShift Enterprise only runs the post-install script for the first installation of the cartridge.