Server IP : 172.67.158.161 / Your IP : 3.133.129.70 Web Server : LiteSpeed System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : giankuin ( 1871) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/puppetlabs/puppet/share/augeas/lenses/dist/tests/ |
Upload File : |
(* Module: Test_SmbUsers Provides unit tests and examples for the <SmbUsers> lens. *) module Test_SmbUsers = (* Variable: conf *) let conf = "# this is a comment jarwin = JosephArwin manderso = MarkAnderson MarkusAndersonus users = @account nobody = * ;commented = SomeOne " (* Test: Simplevars.lns *) test SmbUsers.lns get conf = { "#comment" = "this is a comment" } { } { "jarwin" { "username" = "JosephArwin" } } { "manderso" { "username" = "MarkAnderson" } { "username" = "MarkusAndersonus" } } { "users" { "username" = "@account" } } { "nobody" { "username" = "*" } } { "#comment" = "commented = SomeOne" }