Darvin Denmian wrote:
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 :)
You can't do that with the plain user type in Puppet at the moment.
There already is filed a feature request for this, though
(http://projects.puppetlabs.com/issues/2645), but no-one has stepped
up to implement it yet.
In the meantime, clone my module "nsc-puppet-utils" using Git from
<http://www.nsc.liu.se/~bellman/nsc-puppet-utils.git>. There I
have a define rh_sysuser which does what you want.
/Bellman
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.