Page 1 of 1
WAPT Store: configuration package (Fortinet)
Published: July 11, 2024 - 2:17 PM
by sebastien4444
Hello,
I need to deploy the Fortinet client across my network and I saw that it exists on the store.
Additionally, there's a "forticlient-vpn-config-template" package that seems to allow deploying a specific configuration (and is better coded than my personal package which manipulated registry keys to modify the configuration

).
However, I can't understand how this type of package works.
How do I pass it the configuration file it expects?
Unless this type of package isn't meant to be imported and used in the console, but rather the purpose is to retrieve the code and use it, customizing it within a custom package?
Re: WAPT Store: configuration package (Fortinet)
Published: July 11, 2024 - 2:46 PM
by dcardon
Hi Sébastien,
yes, *-template packages have this suffix to indicate that they must be edited before deployment. Afterward, you remove the "-template" suffix to prevent the console from prompting you to update it if a new version is released on the store (otherwise, the generic configuration of the store package would override your internal configuration since the package index would be incremented).
Hoping my answer is clear enough
. Best regards,
Denis
Re: WAPT Store: configuration package (Fortinet)
Published: July 17, 2024 - 2:36 PM
by sebastien4444
Hello,
thank you for your reply.
Actually, I hadn't realized it was possible to modify a package in the private repository.
I thought editing package files was only possible by building a custom package...
Thanks to your answer, I discovered the Control and Setup tabs in the package editor.
However, I don't understand where I should store the expected configuration file ("company.conf" in the script).
Re: WAPT Store: configuration package (Fortinet)
Published: August 2, 2024 - 4:11 PM
by sebastien4444
Hello,
Having not found an answer to this question elsewhere, I'm taking the liberty of asking again:
"However, I don't understand where I should store the expected configuration file ('company.conf' in the script)."
What I mean is that when you build a package yourself, you work in a directory that contains the various files, including setup.py, so it's easy to add files that you then call in the code.
But when you modify a package in the console, how do you add a file to that package?
Because in the case of FotriClient VPN Configuration, setup.py clearly expects a company.conf file.
Re: WAPT Store: configuration package (Fortinet)
Published: August 5, 2024 - 3:50 PM
by t.heroult
Hello,
to modify files in the package, you must edit it locally; it is impossible in the console.