Issue #2224 has been updated by James Turnbull.

Status changed from Accepted to Ready for Testing
Target version changed from unplanned to 2.6.2
Branch set to http://github.com/deanwilson/puppet/tree/user_expiry


----------------------------------------
Feature #2224: Add an "Expire" parameter to the User type reference
http://projects.puppetlabs.com/issues/2224

Author: Mike Hanby
Status: Ready for Testing
Priority: Normal
Assignee: 
Category: user
Target version: 2.6.2
Affected version: 0.24.8
Keywords: 
Branch: http://github.com/deanwilson/puppet/tree/user_expiry


It'd be very hand to have the ability to set an account expiration date for 
user accounts via the puppet user type.

For example, in Linux, I can set an account to be disabled on a specific date 
using:
<pre>
sudo /usr/sbin/usermod -e 2009-12-31 joeblow

</pre>

It'd be great to be able to do this via the user type so that the change 
happens on all hosts where this account is 'realize'd:
<pre>
    @user { "joeblow":
        ensure  => "present",
        uid     => "11100",
        gid     => "10001",
        comment => "Joe Blow",
        managehome => true,
        shell   => "/bin/bash",
        expire  => "2009-12-31",
    }
</pre>


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" 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-bugs?hl=en.

Reply via email to