Hi list.

We are trying to automate the configuration of PF with puppet and do use Auegas 
to modify values in config files.
Since augeas cannot deal with slashes in the key value we have a problem with 
the switches.conf file where
"IP Address/MAC Address/Range (CIDR)" is the key-value

[10.10.10.0/24]
description=Test Clients
group=Test

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.
Is this possible?

[cidr-in-keyvalue]
cidr=10.10.10.0/24
...

Regards,
Pär Stolpe

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

Reply via email to