2 Module: Test_MCollective
3 Provides unit tests and examples for the <MCollective> lens.
6 module Test_MCollective =
8 let conf = "topicprefix = /topic/
9 main_collective = mcollective
10 collectives = mcollective
11 libdir = /usr/libexec/mcollective
16 securityprovider = psk
20 plugin.stomp.host = localhost
21 plugin.stomp.port = 61613
22 plugin.stomp.user = mcollective
23 plugin.stomp.password = secret
26 factsource = yaml # bla
27 plugin.yaml=/etc/mcollective/facts.yaml
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" }
38 { "#comment" = "Plugins" }
39 { "securityprovider" = "psk" }
40 { "plugin.psk" = "unset" }
42 { "connector" = "stomp" }
43 { "plugin.stomp.host" = "localhost" }
44 { "plugin.stomp.port" = "61613" }
45 { "plugin.stomp.user" = "mcollective" }
46 { "plugin.stomp.password" = "secret" }
48 { "#comment" = "Facts" }
49 { "factsource" = "yaml"
50 { "#comment" = "bla" }
52 { "plugin.yaml" = "/etc/mcollective/facts.yaml" }