The process involved in creating a cartridge will vary based on whether the cartridge is a generic cartridge or a fully configured cartridge. The entire cartridge creation process has been illustrated in the diagram and steps below:
Deploy the Puppet scripts in Puppet Master. Puppet Master will be used by all the cartridges in a Stratos deployment.
Puppet Master needs to be configured prior to deploying the Puppet scripts.
config.sh
) to install Puppet Agent on the VM. cartridge.json
file.After the cartridge has been successfully deployed, the tenant users will be able to subscribe to the cartridge using any of the following methods: CLI, REST API or Web UI. If the tenant user has subscribed cartridge, which has been created using a generic cartridge image, when the cartridge instance starts up the start-up script (e.g., init.sh
) within the cartridge will get automatically executed and start up the Puppet Agent, which will communicate with Puppet Master and install the Cartridge Agent (CA) and all the required cartridge software.