1
(* Tests for the PuppetFileserver module *)
3
module Test_puppetfileserver =
5
let fileserver = "# This a comment
9
path /etc/puppet/files/%h
10
allow host.domain1.com
12
deny badhost.domain2.com
15
deny *.evil.example.com
16
deny badhost.domain2.com
19
test PuppetFileserver.lns get fileserver =
20
{ "#comment" = "This a comment" }
23
{ "#comment" = "Mount1 options" }
24
{ "path" = "/etc/puppet/files/%h" }
25
{ "allow" = "host.domain1.com" }
26
{ "allow" = "*.domain2.com" }
27
{ "deny" = "badhost.domain2.com" }
31
{ "deny" = "*.evil.example.com" }
32
{ "deny" = "badhost.domain2.com" }