projects
/
platform
/
upstream
/
augeas.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Bump to 1.14.1
[platform/upstream/augeas.git]
/
lenses
/
tests
/
test_fail2ban.aug
1
module Test_fail2ban =
2
3
let conf = "[DEFAULT]
4
mta = ssmtp
5
bantime = 432000
6
destemail = fail2ban@domain.com
7
findtime = 3600
8
maxretry = 3
9
10
[sshd]
11
enabled = true
12
"
13
14
15
test Fail2ban.lns get conf =
16
{ "DEFAULT"
17
{ "mta" = "ssmtp" }
18
{ "bantime" = "432000" }
19
{ "destemail" = "fail2ban@domain.com" }
20
{ "findtime" = "3600" }
21
{ "maxretry" = "3" }
22
{} }
23
{ "sshd"
24
{ "enabled" = "true" } }