Working with multiple repositories

Multi-repository is now supported by WAPT. This functionality is useful in several use cases:

  • to use a secondary private repository, hosting business application packages, independently of your main repository;
  • to have remote repositories closer to users in a multi-site architecture scenario;
  • to allow the usage of an open repository and a secondary repository with restricted access (licensed software..);
Multi-depot WAPT

Attention

CORRECTIONS NEEDED
When using repositories with different signers, the additional signer’s public certificates must be added to C:\Program Files (x86)\wapt\ssl\. You then must deploy WAPT agent with both keys.

Please refer to the documentation to create the WAPT agent.

Configuring the WAPT agents

  • repositories parameter:

    The parameter repository in the [global] section of the wapt-get.ini file allows to set several options for package repositories, for example private and tranquilit sections here, where their settings are set in additional sections of that file.

    repositories=private,tranquilit
    
  • settings of secondary repositories

    [private]
    repo_url=https://srvwapt.tranquilit.local/wapt
    
    [tranquilit]
    repo_url=https://wapt.tranquil.it/wapt
    

    With that configuration, WAPT clients will now see packages from the main repository and from the secondary repository.

    The WAPT agents will look for updates on both repositories.

    wapt-get search
    

    Packages from the secondary repository will also be visible using the web interface http://127.0.0.1:8088 on WAPT equiped devices.

Configuring the WAPT console with several private repositories

After having configured the WAPT agent for using multiple repositories, we can make the two repositories show up in the WAPT console.

To do so, modify %appdata%\local\waptconsole\waptconsole.ini file:

[private]
repo_url=https://srvwapt.tranquilit.local/wapt

[tranquilit]
repo_url=https://wapt.tranquil.it/wapt