alkivi-sas / salt-pfsense

Collection of modules and states for managing pfsense using Salt
GNU Lesser General Public License v3.0
17 stars 8 forks source link

interface module will not disable an interface #3

Open poliscialex opened 2 years ago

poliscialex commented 2 years ago

I am using the interface module to try and toggle an interface between disabled and enabled. Enabling an interface works perfectly, but I cannot disable an interface. In fact, if the interface is already disabled and i use the module with the argument enable=False, it actually enables the interface.

martintamare commented 2 years ago

That's a good one, will try to replicate the issue.

I was having issue with the activation of an interface. I think it triggers some other code, make it hard and difficult to maintain on the long term.

Feel free to fork and PR, I do not have any ETA for this issue.