com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links' is unknown.

Configuring Puppet Master for WSO2 Cartridges

Follow the steps giving below to configure Puppet Master for WSO2 cartridges:

To set up Puppet Master, it is not mandatory to configure the modules mentioned below. The following are required only when configuring the servers that are being used by the respective application.

Example: If the ESB cartridge is the only cartridge that is being used in the application, you are only required to set up the modules related to ESB. 

  1. Copy the respective product pack in the .zip format to the packs folder, which is in the /etc/puppet/modules/wso2installer/files/<SERVER_NAME> directory. 
    Example: When configuring ESB, navigate to the /etc/puppet/modules/wso2installer/files/wso2esb481/packs directory.

    You can download the product pack from the respective products download page.

    Example: Download ESB from here.

  2. Download the respective WSO2 product cartridge via the PPaaS product page and unzip it. The unzipped folder will be referred to as <CARTRIDGE_HOME>.
    For example, to download the ESB cartridge, navigate to the PPaaS product page and click Cartridges > wso2esb-4.8.1-cartridge-4.1.1.

  3. Copy the respective template module ZIP file, which is in the <CARTRIDGE_HOME>/templates-module/target directory to the /etc/puppet/modules/wso2installer/files/<SERVER_NAME>/packs directory.

  4. Change the file permission value, for content in the /etc/puppet/modules/wso2installer/files/<SERVER_NAME>/packs directory, to 0755.

    chmod 755 <server_pack>.zip 
    chmod 755 <template_module>.zip 
  5. Download the Python Cartridge Agent (PCA) plugin, via the PPaaS product page, and copy the downloaded ZIP file to the /etc/puppet/modules/wso2installer/files/<SERVER_NAME>/plugins directory.

  6. Change the file permission of the content in the /etc/puppet/modules/wso2installer/files/<SERVER_NAME>/plugins directory to 0755. 

    chmod 755 wso2esb-481-startup-handler.py 
    chmod 755 wso2esb-481-startup-handler.yapsy-plugin 
  7. Update the respective entry in nodes.pp file, which is in the /etc/puppet/manifests/nodes/nodes.pp directory with the following server variables.
    Example: If you are updating the ESB server, you can update the file as follows:

    # ESB cartridge node
    node /[0-9]{1,12}.*wso2esb-481/ inherits base {
    
      class { 'java': }
      class { 'python_agent':}
      class { 'configurator': }
      class {'wso2installer':
        server_name       => 'wso2esb-4.8.1',
        module_name       => 'wso2esb481'
      }
    }
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.