? GR0V Shell

GR0V shell

Linux server122.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64

Path : /opt/puppetlabs/puppet/share/augeas/lenses/dist/tests/
File Upload :
Current File : //opt/puppetlabs/puppet/share/augeas/lenses/dist/tests/test_smbusers.aug

(*
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" }

T1KUS90T
  root-grov@198.54.114.191:~$