Provides unit tests and examples for the MongoDBServer lens.
Test_MongoDBServer | Provides unit tests and examples for the MongoDBServer lens. |
Augeas Variables | |
conf | |
Augeas Tests | |
MongoDBServer.lns | |
MongoDBServer.lns | Values have to be without quotes |
let conf = "port = 27017 fork = true pidfilepath = /var/run/mongodb/mongodb.pid logpath = /var/log/mongodb/mongodb.log dbpath =/var/lib/mongodb journal = true nohttpinterface = true "
test MongoDBServer.lns get conf = { "port" = "27017" } { "fork" = "true" } { "pidfilepath" = "/var/run/mongodb/mongodb.pid" } { "logpath" = "/var/log/mongodb/mongodb.log" } { "dbpath" = "/var/lib/mongodb" } { "journal" = "true" } { "nohttpinterface" = "true" }