/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to clients.conf

  • Committer: Teddy Hogeborn
  • Date: 2009-04-17 01:16:37 UTC
  • Revision ID: teddy@fukt.bsnet.se-20090417011637-bcqjpm7fskm4370v
Code cleanup and one bug fix.

* mandos (Client.enable): Bug fix: Do not enable if already enabled.
  (MandosServer.__init__): Create empty set of clients if none passed.
  (main): Do not create clients set; do not pass a clients set to
          MandosServer.  Use tcp_server.clients throughout.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
;interval = 5m
15
15
 
16
16
# What command to run as "the checker".
17
 
;checker = fping -q -- %(host)s
 
17
;checker = fping -q -- %%(host)s
18
18
 
19
19
 
20
20
;####
55
55
;fingerprint = 3e393aeaefb84c7e89e2f547b3a107558fca3a27
56
56
;
57
57
;# If "secret" is not specified, a file can be read for the data.
58
 
;;secfile = /etc/mandos/bar-secret.txt.asc
 
58
;secfile = /etc/mandos/bar-secret.bin
59
59
;
60
60
;# An IP address for host is also fine, if the checker accepts it.
61
61
;host = 192.0.2.3