components/ruby/puppet/patches/puppet-15-shadow-bug.patch
changeset 7565 48aa82a0931f
parent 7564 f958607559a6
child 7566 34f2284a605f
--- a/components/ruby/puppet/patches/puppet-15-shadow-bug.patch	Wed Jan 11 15:24:27 2017 -0800
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-Fixes a bug introduced by PUP-229.
-Modification notice injected by puppet-09-role-shell.patch.
-This fix has already been integrated into the Puppet master branch.
-
---- puppet-3.8.6/lib/puppet/provider/user/user_role_add.rb.orig	2016-10-07 10:04:30.993459833 +0000
-+++ puppet-3.8.6/lib/puppet/provider/user/user_role_add.rb	2016-10-07 10:05:07.479333101 +0000
-@@ -191,6 +191,7 @@
-   end
- 
-   def password_min_age
-+    return :absent unless shadow_entry
-     shadow_entry[3].empty? ? -1 : shadow_entry[3]
-   end
-