Bump to 1.14.1
[platform/upstream/augeas.git] / lenses / tests / test_mcollective.aug
1 (*
2 Module: Test_MCollective
3   Provides unit tests and examples for the <MCollective> lens.
4 *)
5
6 module Test_MCollective =
7
8 let conf = "topicprefix = /topic/
9 main_collective = mcollective
10 collectives = mcollective
11 libdir = /usr/libexec/mcollective
12 logger_type = console
13 loglevel = warn
14
15 # Plugins
16 securityprovider = psk
17 plugin.psk = unset
18
19 connector = stomp
20 plugin.stomp.host = localhost
21 plugin.stomp.port = 61613
22 plugin.stomp.user = mcollective
23 plugin.stomp.password = secret
24
25 # Facts
26 factsource = yaml # bla
27 plugin.yaml=/etc/mcollective/facts.yaml
28 "
29
30 test MCollective.lns get conf =
31   { "topicprefix" = "/topic/" }
32   { "main_collective" = "mcollective" }
33   { "collectives" = "mcollective" }
34   { "libdir" = "/usr/libexec/mcollective" }
35   { "logger_type" = "console" }
36   { "loglevel" = "warn" }
37   { }
38   { "#comment" = "Plugins" }
39   { "securityprovider" = "psk" }
40   { "plugin.psk" = "unset" }
41   { }
42   { "connector" = "stomp" }
43   { "plugin.stomp.host" = "localhost" }
44   { "plugin.stomp.port" = "61613" }
45   { "plugin.stomp.user" = "mcollective" }
46   { "plugin.stomp.password" = "secret" }
47   { }
48   { "#comment" = "Facts" }
49   { "factsource" = "yaml"
50     { "#comment" = "bla" }
51   }
52   { "plugin.yaml" = "/etc/mcollective/facts.yaml" }
53