rust/cargo-c: update to 0.10.7+cargo-0.84.0
[oi-userland.git] / components / ruby / puppet / patches / puppet-15-shadow-bug.patch
blobeaa1a3b0126be32ddc74e57c556097e4ff25d37e
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.
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
10 def password_min_age
11 + return :absent unless shadow_entry
12 shadow_entry[3].empty? ? -1 : shadow_entry[3]
13 end