HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //snap/certbot/current/usr/share/augeas/lenses/dist/tests/test_fail2ban.aug
module Test_fail2ban =

let conf = "[DEFAULT]
mta = ssmtp
bantime = 432000
destemail = fail2ban@domain.com
findtime = 3600
maxretry = 3

[sshd]
enabled = true
"


test Fail2ban.lns get conf = 
  { "DEFAULT"
     { "mta" = "ssmtp" }
     { "bantime" = "432000" }
     { "destemail" = "fail2ban@domain.com" }
     { "findtime" = "3600" }
     { "maxretry" = "3" }
     {} }
  { "sshd"
     { "enabled" = "true" } }