CodeLiturgy.Dashboard/CodeLiturgy.Views/Augeas/lens/tests/test_puppet.aug

32 lines
547 B
Plaintext
Raw Permalink Normal View History

2022-12-05 02:07:41 +03:00
module Test_puppet =
let conf = "
[main]
logdir=/var/log/puppet
[puppetd]
server=misspiggy.network.com
"
test Puppet.lns get conf =
{}
{ "main"
{ "logdir" = "/var/log/puppet" }
{} }
{ "puppetd"
{ "server" = "misspiggy.network.com" } }
test Puppet.lns put conf after
set "main/vardir" "/var/lib/puppet";
set "main/rundir" "/var/run/puppet"
= "
[main]
logdir=/var/log/puppet
vardir=/var/lib/puppet
rundir=/var/run/puppet
[puppetd]
server=misspiggy.network.com
"