Page 1 of 2

WAPT 1.8 - Linux Agent and Repositories

Published: January 22, 2020 - 10:28 AM
by TomTom
Hello everyone,

First of all, thank you for this new update which brings yet another batch of great new features!

I was eagerly awaiting version 1.8 for managing my remote repositories and Linux agents. So, I looked into it this morning, and the documentation contains no information regarding the installation of agents on Linux, let alone the configuration of repositories in the console.

So, what should I do? Do we have to wait?

Thanks again, and congratulations to the team!

Thomas

Re: WAPT 1.8 - Linux Agent and Repositories

Published: January 22, 2020 - 1:42 PM
by dcardon
Hello TomTom,
TomTom wrote: January 22, 2020 - 10:28 AM First of all, thank you for this new update which brings yet another batch of great new features!

I was eagerly awaiting the arrival of version 1.8 for managing my remote repositories and Linux agents. So, I looked into it this morning, and the documentation contains no information regarding the installation of agents on Linux, let alone the configuration of repositories in the console.

So, what should I do? Do we have to wait?

Thanks again, and congratulations to the team!
Thanks for your encouragement! The documentation page for installing the Linux agent hasn't been pushed yet, but it should be soon. Basically, you need to install the deb or rpm package and then retrieve a wapt-get.ini file (the installer doesn't contain the configuration, unlike the Windows agent which is recreated by the console with all the necessary parameters).

Once the agent is deployed on a machine that will serve as a remote repository, there is a WAPT Linux package to install to configure the environment and add the necessary libraries.

Once the remote repository agent is configured, it will register as a remote repository on the main server. Rules must then be defined to specify which repositories the workstations at a given site should connect to.

We'll keep you updated on the documentation update.

Sincerely,

Denis

Re: WAPT 1.8 - Linux Agent and Repositories

Published: January 22, 2020 - 2:04 PM
by TomTom
Is the .deb file already in the repository? Is it possible to test it?
And is the package available in your store?

Re: WAPT 1.8 - Linux Agent and Repositories

Published: January 22, 2020 - 3:26 PM
by agauvrit
Hello,

The documentation is online: https://www.wapt.fr/fr/doc/wapt-configu ... linux.html

The translation will be available this week.

Alexandre

Re: WAPT 1.8 - Linux Agent and Repositories

Published: February 4, 2020 - 4:48 PM
by TomTom
Hello and thank you for your feedback.

Would it be possible to have documentation for configuring and activating a remote repository under Debian?

Thank you in advance,
Thomas

Re: WAPT 1.8 - Linux Agent and Repositories

Published: February 14, 2020 - 12:28 PM
by dcardon
Hello Thomas,
TomTom wrote: Feb 4, 2020 - 4:48 PM Hello and thank you for the feedback.

Would it be possible to have documentation for configuring and activating a remote repository under Debian?

Thank you in advance,
Thomas
The documentation has since been updated; the documentation page for the Linux agent and the repository section is available at the following addresses:
* https://www.wapt.fr/fr/doc/wapt-configuration ... linux.html
* https://www.wapt.fr/fr/doc/wapt-replica ... index.html

Feel free to raise any questions if anything is unclear :-)

Sincerely,

Denis

Re: WAPT 1.8 - Linux Agent and Repositories

Published: February 17, 2020 - 09:28
by TomTom
Hi Denis,

According to the documentation, deploying the "remote-repo-conf" package should be enough, but this doesn't deploy nginx or its configuration.

How should we proceed?

Thanks,
Thomas

Re: WAPT 1.8 - Linux Agent and Repositories

Published: February 17, 2020 - 10:57 AM
by eblaudy
Hello,
You will need two packages:
https://store.wapt.fr/store/details-tis ... f_1-1.wapt --> this package simply modifies/adds parameters to wapt-get.ini.
https://store.wapt.fr/store/details-tis ... linux.wapt --> this one installs and configures nginx on Linux based on the settings in the previous package.
Note that the first package is a dependency of the second package, so if you install tis-remote-repo-nginx, then tis-remote-repo-conf will also be installed.
Sincerely,
Evan Blaudy

Re: WAPT 1.8 - Linux Agent and Repositories

Published: February 17, 2020 - 1:24 PM
by TomTom
Thanks for the information. I've added the package to my repository, but I can't seem to apply it to my machine to deploy it. When I try to add it, it doesn't appear in the system tray when I edit the machine to add the dependency... Strange...

Re: WAPT 1.8 - Linux Agent and Repositories

Published: February 17, 2020 - 1:34 PM
by TomTom
I answer myself:
If I right-click on the machine -> Add a dependency, I can find the package and apply it.
If I double-click on the machine, I can't find it in my list of packages.

Another thing, after applying the package, I can't access my repository in the browserhttps://mondepotwapt/wapt" gives me a 404 Not found error.

Here is the content of my remote-repo-conf package:

Code: Select all

def install():
    conf = {
    'enable_remote_repo': True,
    # Active sync / Default value : False
    'local_repo_path': "/var/www/",
    # Path where the sync is / Default value : "<wapt_path>/repository" / Example value : "/var/www/html/" for a linux
    'local_repo_sync_task_period': None,
    # Synchronization is started periodically so select a period / Default value : '10m' for 10 minutes / Example value : '1d' for one sync by day it's 's' for seconds,'m' for minutes,'h' for hours,'d' for day, 'w' for weeks
    'local_repo_time_for_sync_start': None,
    # Sync will start only after this hour of the day / Default value : None / Example value : '23:00' for sync to be done only after 11PM (it's in format : HH:MM)
    'local_repo_time_for_sync_end': None,
    # Sync will stop after this hour of the day / Default value : None if no 'local_repo_time_for_sync_start' configured else 'local_repo_time_for_sync_start' + 1 hour / Example value : '01:00' with previous example sync will be done every day only between 23PM and 01AM
    'local_repo_limit_bandwidth' : None,
    # Limit for bandwidth to use for repo sync in Mbits/s / Default value : None / Example value :  0.5 for 0.5 Mbits/s (=500KBits/s)
    'remote_repo_dirs' : "wapt,waptwua,wapt-host",
    # Select what do you want to sync in wapt packages ('wapt'), host packages ('wapt-host') or/and windows-updates ('waptwua') / Default value : "wapt,waptwua" / Example value : "wapt,waptwua,wapt-host"
    }

    inifile_deletesection(WAPT.config_filename,'repo-sync')

    for akey in conf:
        if conf[akey] is not None:
            inifile_writestring(WAPT.config_filename,'repo-sync',akey,conf[akey])
Thanks in advance