odinje / puppet-suricata

Puppet module to manage Suricata IDS
Apache License 2.0
7 stars 13 forks source link

interfaces => undef dosent remove the -i inn the startup command #3

Closed CyberSecDog closed 6 years ago

CyberSecDog commented 6 years ago

if i use class { ::suricata: interfaces => undef, }

the execstart command is "-i " I want to remove it. this is what I need. ExecStart=/usr/bin/suricata -c /etc/suricata/suricata.yaml --user suricata --af-packet

odinje commented 6 years ago

As I look into the problem does it looks like that the undef is not set since there exists i value for interfaces. I have now changed the documentation to set interfaces to => false.

I have tested it, and it should work now. However, I will remain this issue open to you have confirmed that it works for you.

odinje commented 6 years ago

Closing this since it seem to be fixed.