Hi,

yes we have considered templates but:
With templates the configuration file becomes static, with Auegas we may modify 
only the changes we need to be controlled and may use the gui for everything 
else.
Templates do not consider upstream changes, with Auegas it's easier to upgrade 
if new features demands changes in default config files.

Preferably if there is a way to set the key and values in the config file as 
something like below and thus avoid the / in the key-value [ key ] ?

[switch-name]
ipv4=
ipv6=
mac=

/Pär

-----Ursprungligt meddelande-----
Från: Nicolas Quiniou-Briand via PacketFence-users 
<[email protected]> 
Skickat: den 7 februari 2020 07:55
Till: [email protected]
Kopia: Nicolas Quiniou-Briand <[email protected]>
Ämne: Re: [PacketFence-users] Auegas configuration of switches.conf

Hello,

On 04/02/2020 17:16, Pär Stolpe via PacketFence-users wrote:
> We see that it might be feasible to check for a variable first and if 
> set accept a description as the key otherwise default to the standard 
> behavior.

Could you rephrase because I'm not sure to understand what you mean ?
Did you consider using a template module in place of Augeas module ?
--
Nicolas Quiniou-Briand
[email protected]  ::  +1.514.447.4918 *140  ::  https://inverse.ca Inverse inc. 
:: Leaders behind SOGo (https://sogo.nu), PacketFence
(https://packetfence.org) and Fingerbank (http://fingerbank.org)


_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users


_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to