Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 1.3 KB

README.md

File metadata and controls

37 lines (23 loc) · 1.3 KB

Provisioning generator

The purpose of this module is to create an archive with all the active modules of a platform and the related YAML provisioning file. Afterward, this archive can be used to install these modules on another platform or in the same one if needed.

Installation

  • In Jahia, go to "Administration --> Server settings --> System components --> Modules"
  • Upload the JAR provisioning-generator-X.X.X.jar
  • Check that the module is started

How to use

With Karaf commands

provisioning-generator:generate

Generate an archive in the folder JAHIA_HOME/digital-factory-data/content/tmp/

provisioning-generator:split-generate

Generate an archive in the folder JAHIA_HOME/digital-factory-data/content/tmp/ but this time with 2 provisioning files and custom Modules Jars

  • first (provisioning-store.yaml) that can be handled from Jahia Store
  • second (provisioning-files.yaml) that contains other files that are not bundled under org.jahia.modules Group ID

Options:

Name alias Mandatory Value Description

Example: Default Generate :

provisioning-generator:generate

Split Generate :

provisioning-generator:split-generate