%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/share/augeas/lenses/dist/tests/
Upload File :
Create Path :
Current File : //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" } }

Zerion Mini Shell 1.0