Patch for "Add an "Expire" parameter to the User type reference"

7 views
Skip to first unread message

Dean Wilson

unread,
Aug 26, 2010, 10:57:38 AM8/26/10
to puppe...@googlegroups.com
I've attached a patch for a possible fix to
http://projects.puppetlabs.com/issues/2224 (among other similar
tickets). It's my first attempt at modifying an existing provider and
adding a new feature so before I start looking at specs for it I'd
appreciate a once over by experienced eyes.

Thanks,
Dean
--
Dean Wilson               http://www.unixdaemon.net
Profanity is the one language all programmers understand
--- Anon

0001-Add-user-expiry-handling-to-useradd-provider.patch

James Turnbull

unread,
Aug 26, 2010, 4:33:05 PM8/26/10
to puppe...@googlegroups.com
Dean Wilson wrote:
> I've attached a patch for a possible fix to
> http://projects.puppetlabs.com/issues/2224 (among other similar
> tickets). It's my first attempt at modifying an existing provider and
> adding a new feature so before I start looking at specs for it I'd
> appreciate a once over by experienced eyes.

+1 from me.

James

--
Puppet Labs - http://www.puppetlabs.com
C: 503-734-8571

Dean Wilson

unread,
Aug 27, 2010, 11:26:27 AM8/27/10
to puppe...@googlegroups.com
On 26 August 2010 21:33, James Turnbull <ja...@puppetlabs.com> wrote:
> Dean Wilson wrote:
>> I've attached a patch for a possible fix to
>> http://projects.puppetlabs.com/issues/2224 (among other similar

> +1 from me.

I've attached a rebased version that includes some simple specs and
should apply cleanly against master.

0001-Add-user-account-expiry-to-the-useradd-type-and-prov.patch

James Turnbull

unread,
Sep 3, 2010, 7:17:35 PM9/3/10
to puppe...@googlegroups.com
Dean Wilson wrote:
> On 26 August 2010 21:33, James Turnbull <ja...@puppetlabs.com> wrote:
>> Dean Wilson wrote:
>>> I've attached a patch for a possible fix to
>>> http://projects.puppetlabs.com/issues/2224 (among other similar
>
>> +1 from me.
>
> I've attached a rebased version that includes some simple specs and
> should apply cleanly against master.
>
> Dean

Dean

Do you have a GitHub/Git repo I can pull this from?

Thanks

James Turnbull

Dean Wilson

unread,
Sep 3, 2010, 7:47:32 PM9/3/10
to puppe...@googlegroups.com
Will this do?

http://github.com/deanwilson/puppet/tree/user_expiry

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

James Turnbull

unread,
Sep 4, 2010, 11:39:18 AM9/4/10
to puppe...@googlegroups.com
Dean Wilson wrote:
> Will this do?
>
> http://github.com/deanwilson/puppet/tree/user_expiry
>

Perfect!

James

Markus Roberts

unread,
Sep 4, 2010, 12:05:05 PM9/4/10
to puppe...@googlegroups.com
+1; the only thing that caught my eye that I might have done
differently would be the clunky way we accumulate command arguments,
but that's a pre-existing issue & the submitted code looks correct and
consistent with the present system, so no worries.

-----------------------------------------------------------
The power of accurate observation is
commonly called cynicism by those
who have not got it.  ~George Bernard Shaw
------------------------------------------------------------

Reply all
Reply to author
Forward
0 new messages