Page 1 sur 1

Fonctionnement des règles

Publié : 13 nov. 2025 - 17:15
par damien.touraine
Hi,

We have a server (WAPT 2.6) and severy secondary repositories. We create rules such as "host name " = "*69-*". But agents with hostname = tilde69-682 dont seems to match this rule as when we look at the column "repository", it says the main server, not the repository.
Is there a reason for that ? What kind of "match" is used ? Is it a regexp ?
When is the repository choosen is it once for all or each time the agent synchronize with the server ?

kr,
Damien

Re: Fonctionnement des règles

Publié : 13 nov. 2025 - 17:38
par sfonteneau

Code : Tout sélectionner

>>> import fnmatch
>>> fnmatch.fnmatch('tilde69-682'.lower(), "*69-*".lower())
True
The problem does not seem to stem from the rule.

Perhaps a bad signature on the rules?