bundleagentmain{files:# Here we use username and groupname
"/tmp/example"create=>"true",perms=>mog("600","root","root");# Here we use uid and gid
"/tmp/example"perms=>mog("600",1000,136);}bodypermsmog(mode,user,group)# @brief Set the file's mode, owner and group
# @param mode The new mode
# @param user The username of the new owner
# @param group The group name
{owners=>{"$(user)"};groups=>{"$(group)"};mode=>"$(mode)";}