Blame lenses/tests/test_host_conf.aug
|
Packit Service |
a2ae7a |
module Test_Host_Conf =
|
|
Packit Service |
a2ae7a |
|
|
Packit Service |
a2ae7a |
let conf = "
|
|
Packit Service |
a2ae7a |
# /etc/host.conf
|
|
Packit Service |
a2ae7a |
# We have named running, but no NIS (yet)
|
|
Packit Service |
a2ae7a |
order bind, hosts
|
|
Packit Service |
a2ae7a |
# Allow multiple addrs
|
|
Packit Service |
a2ae7a |
multi on
|
|
Packit Service |
a2ae7a |
# Guard against spoof attempts
|
|
Packit Service |
a2ae7a |
nospoof on
|
|
Packit Service |
a2ae7a |
# Trim local domain (not really necessary).
|
|
Packit Service |
a2ae7a |
trim vbrew.com.:fedora.org.
|
|
Packit Service |
a2ae7a |
trim augeas.net.,ubuntu.com.
|
|
Packit Service |
a2ae7a |
"
|
|
Packit Service |
a2ae7a |
|
|
Packit Service |
a2ae7a |
test Host_Conf.lns get conf =
|
|
Packit Service |
a2ae7a |
{ }
|
|
Packit Service |
a2ae7a |
{ "#comment" = "/etc/host.conf" }
|
|
Packit Service |
a2ae7a |
{ "#comment" = "We have named running, but no NIS (yet)" }
|
|
Packit Service |
a2ae7a |
{ "order"
|
|
Packit Service |
a2ae7a |
{ "1" = "bind" }
|
|
Packit Service |
a2ae7a |
{ "2" = "hosts" }
|
|
Packit Service |
a2ae7a |
}
|
|
Packit Service |
a2ae7a |
{ "#comment" = "Allow multiple addrs" }
|
|
Packit Service |
a2ae7a |
{ "multi" = "on" }
|
|
Packit Service |
a2ae7a |
{ "#comment" = "Guard against spoof attempts" }
|
|
Packit Service |
a2ae7a |
{ "nospoof" = "on" }
|
|
Packit Service |
a2ae7a |
{ "#comment" = "Trim local domain (not really necessary)." }
|
|
Packit Service |
a2ae7a |
{ "trim"
|
|
Packit Service |
a2ae7a |
{ "1" = "vbrew.com." }
|
|
Packit Service |
a2ae7a |
{ "2" = "fedora.org." }
|
|
Packit Service |
a2ae7a |
}
|
|
Packit Service |
a2ae7a |
{ "trim"
|
|
Packit Service |
a2ae7a |
{ "3" = "augeas.net." }
|
|
Packit Service |
a2ae7a |
{ "4" = "ubuntu.com." }
|
|
Packit Service |
a2ae7a |
}
|