components/ruby/puppet/patches/puppet-15-shadow-bug.patch
changeset 7565 48aa82a0931f
parent 7564 f958607559a6
child 7566 34f2284a605f
equal deleted inserted replaced
7564:f958607559a6 7565:48aa82a0931f
     1 Fixes a bug introduced by PUP-229.
       
     2 Modification notice injected by puppet-09-role-shell.patch.
       
     3 This fix has already been integrated into the Puppet master branch.
       
     4 
       
     5 --- puppet-3.8.6/lib/puppet/provider/user/user_role_add.rb.orig	2016-10-07 10:04:30.993459833 +0000
       
     6 +++ puppet-3.8.6/lib/puppet/provider/user/user_role_add.rb	2016-10-07 10:05:07.479333101 +0000
       
     7 @@ -191,6 +191,7 @@
       
     8    end
       
     9  
       
    10    def password_min_age
       
    11 +    return :absent unless shadow_entry
       
    12      shadow_entry[3].empty? ? -1 : shadow_entry[3]
       
    13    end
       
    14