Am Mon, 29 Mar 2010 18:23:04 -0300 schrieb Darvin Denmian:

> What option I need to use to create a system account with "Puppet"? Like
> the bellow command:
> 
> useradd -r nagios -s /sbin/nologin -d /var/lib/nagios -m nagios
> 
> Sorry for this newbie question, I'm new in Puppet configuration :)
> 
> Thanks !



User {
        "nagios":
                gid => "nagios",
                shell => "/sbin/nologin",
                home => "/var/lib/nagios",
}
                


see type reference "user" (and maybe "group" too): 

http://docs.reductivelabs.com/references/latest/type.html#id310

- Thomas

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to